mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
CMakeLists.txt:
Link with library "udf_example" depends on, needed for nmake libmysql.c: DBUG_ENTER need to be in declaration section
This commit is contained in:
parent
515d654e80
commit
edf772aef1
2 changed files with 2 additions and 3 deletions
|
@ -4680,6 +4680,7 @@ int cli_read_binary_rows(MYSQL_STMT *stmt)
|
||||||
MYSQL_DATA *result= &stmt->result;
|
MYSQL_DATA *result= &stmt->result;
|
||||||
MYSQL_ROWS *cur, **prev_ptr= &result->data;
|
MYSQL_ROWS *cur, **prev_ptr= &result->data;
|
||||||
NET *net;
|
NET *net;
|
||||||
|
DBUG_ENTER("cli_read_binary_rows");
|
||||||
|
|
||||||
if (!mysql)
|
if (!mysql)
|
||||||
{
|
{
|
||||||
|
@ -4687,8 +4688,6 @@ int cli_read_binary_rows(MYSQL_STMT *stmt)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
DBUG_ENTER("cli_read_binary_rows");
|
|
||||||
|
|
||||||
net = &mysql->net;
|
net = &mysql->net;
|
||||||
mysql= mysql->last_used_con;
|
mysql= mysql->last_used_con;
|
||||||
|
|
||||||
|
|
|
@ -145,4 +145,4 @@ SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
|
||||||
|
|
||||||
ADD_LIBRARY(udf_example MODULE udf_example.c udf_example.def)
|
ADD_LIBRARY(udf_example MODULE udf_example.c udf_example.def)
|
||||||
ADD_DEPENDENCIES(udf_example strings)
|
ADD_DEPENDENCIES(udf_example strings)
|
||||||
TARGET_LINK_LIBRARIES(udf_example wsock32)
|
TARGET_LINK_LIBRARIES(udf_example strings wsock32)
|
||||||
|
|
Loading…
Reference in a new issue