Rewrite temporary table test
Use stack allocated test class and use const char pointers for const functions. Simplify the test and improve error messages.
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
* @param rows Expected number of rows
|
||||
* @return 0 in case of success
|
||||
*/
|
||||
int execute_select_query_and_check(MYSQL *conn, char *sql, unsigned long long int rows);
|
||||
int execute_select_query_and_check(MYSQL *conn, const char *sql, unsigned long long int rows);
|
||||
|
||||
/**
|
||||
* @brief create_t1 Create t1 table, fileds: (x1 int, fl int)
|
||||
|
Reference in New Issue
Block a user