Commit b019ead4 authored by unknown's avatar unknown

Merge work.mysql.com:/home/bk/mysql-4.1

into myvenu.com:/home/venu/bk/src-4.1
parents 68f879ca 34a2f5e4
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <my_global.h>
#include "mysql.h" #include "mysql.h"
#define INSERT_QUERY "insert into test (name,num) values ('item %d', %d)" #define INSERT_QUERY "insert into test (name,num) values ('item %d', %d)"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "my_global.h"
#include "mysql.h" #include "mysql.h"
#define SELECT_QUERY "select name from test where num = %d" #define SELECT_QUERY "select name from test where num = %d"
......
...@@ -32,7 +32,7 @@ extern LIST *list_add(LIST *root,LIST *element); ...@@ -32,7 +32,7 @@ extern LIST *list_add(LIST *root,LIST *element);
extern LIST *list_delete(LIST *root,LIST *element); extern LIST *list_delete(LIST *root,LIST *element);
extern LIST *list_cons(void *data,LIST *root); extern LIST *list_cons(void *data,LIST *root);
extern LIST *list_reverse(LIST *root); extern LIST *list_reverse(LIST *root);
extern void list_free(LIST *root,pbool free_data); extern void list_free(LIST *root,uint free_data);
extern uint list_length(LIST *list); extern uint list_length(LIST *list);
extern int list_walk(LIST *list,list_walk_action action,gptr argument); extern int list_walk(LIST *list,list_walk_action action,gptr argument);
......
...@@ -55,7 +55,7 @@ LIST *list_delete(LIST *root, LIST *element) ...@@ -55,7 +55,7 @@ LIST *list_delete(LIST *root, LIST *element)
} }
void list_free(LIST *root, pbool free_data) void list_free(LIST *root, uint free_data)
{ {
LIST *next; LIST *next;
while (root) while (root)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment