Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5aff325c
Commit
5aff325c
authored
Nov 28, 2002
by
venu@myvenu.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of pbool from my_list.h; and avoid using the my_global.h for clients
parent
a3ae370d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
4 deletions
+2
-4
client/insert_test.c
client/insert_test.c
+0
-1
client/select_test.c
client/select_test.c
+0
-1
include/my_list.h
include/my_list.h
+1
-1
mysys/list.c
mysys/list.c
+1
-1
No files found.
client/insert_test.c
View file @
5aff325c
...
...
@@ -16,7 +16,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <my_global.h>
#include "mysql.h"
#define INSERT_QUERY "insert into test (name,num) values ('item %d', %d)"
...
...
client/select_test.c
View file @
5aff325c
...
...
@@ -19,7 +19,6 @@
#endif
#include <stdio.h>
#include <stdlib.h>
#include "my_global.h"
#include "mysql.h"
#define SELECT_QUERY "select name from test where num = %d"
...
...
include/my_list.h
View file @
5aff325c
...
...
@@ -32,7 +32,7 @@ extern LIST *list_add(LIST *root,LIST *element);
extern
LIST
*
list_delete
(
LIST
*
root
,
LIST
*
element
);
extern
LIST
*
list_cons
(
void
*
data
,
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
int
list_walk
(
LIST
*
list
,
list_walk_action
action
,
gptr
argument
);
...
...
mysys/list.c
View file @
5aff325c
...
...
@@ -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
;
while
(
root
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment