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:
kent@mysql.com/kent-amd64.(none) 2007-08-29 22:29:07 +02:00
parent 515d654e80
commit edf772aef1
2 changed files with 2 additions and 3 deletions

View file

@ -4680,6 +4680,7 @@ int cli_read_binary_rows(MYSQL_STMT *stmt)
MYSQL_DATA *result= &stmt->result;
MYSQL_ROWS *cur, **prev_ptr= &result->data;
NET *net;
DBUG_ENTER("cli_read_binary_rows");
if (!mysql)
{
@ -4687,8 +4688,6 @@ int cli_read_binary_rows(MYSQL_STMT *stmt)
return 1;
}
DBUG_ENTER("cli_read_binary_rows");
net = &mysql->net;
mysql= mysql->last_used_con;

View file

@ -145,4 +145,4 @@ SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
ADD_LIBRARY(udf_example MODULE udf_example.c udf_example.def)
ADD_DEPENDENCIES(udf_example strings)
TARGET_LINK_LIBRARIES(udf_example wsock32)
TARGET_LINK_LIBRARIES(udf_example strings wsock32)