| 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 _SQL_OPTIMIZER_H_ |
| 10 | #define _SQL_OPTIMIZER_H_ |
| 11 | #include "sql.h" |
| 12 | |
| 13 | //#define _SQL_OPTIMIZER_DEBUG |
| 14 | sql5_export str SQLoptimizeQuery(Client c, MalBlkPtr mb); |
| 15 | sql5_export str SQLoptimizeFunction(Client c, MalBlkPtr mb); |
| 16 | sql5_export void SQLaddQueryToCache(Client c); |
| 17 | sql5_export str getSQLoptimizer(mvc *m); |
| 18 | |
| 19 | #endif /* _SQL_OPTIMIZER_H_ */ |
| 20 | |