| 1 | /* |
| 2 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | * |
| 6 | * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _REL_PROPAGATE_H_ |
| 10 | #define _REL_PROPAGATE_H_ |
| 11 | |
| 12 | #include "sql_relation.h" |
| 13 | #include "sql_symbol.h" |
| 14 | #include "sql_mvc.h" |
| 15 | #include "sql_query.h" |
| 16 | |
| 17 | extern sql_rel* rel_alter_table_add_partition_range(sql_query* query, sql_table *mt, sql_table *pt, char *sname, char *tname, |
| 18 | char *sname2, char *tname2, symbol* min, symbol* max, int with_nills, int update); |
| 19 | extern sql_rel* rel_alter_table_add_partition_list(sql_query *query, sql_table *mt, sql_table *pt, char *sname, char *tname, |
| 20 | char *sname2, char *tname2, dlist* values, int with_nills, int update); |
| 21 | extern sql_rel* rel_propagate(sql_query *query, sql_rel *rel, int *changes); |
| 22 | |
| 23 | #endif //_REL_PROPAGATE_H_ |
| 24 | |