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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
34a2f5e4
Commit
34a2f5e4
authored
Nov 28, 2002
by
unknown
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
cb0f9b31
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 @
34a2f5e4
...
...
@@ -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 @
34a2f5e4
...
...
@@ -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 @
34a2f5e4
...
...
@@ -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 @
34a2f5e4
...
...
@@ -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