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
11f1cba7
Commit
11f1cba7
authored
Jan 11, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments that groups and describes the inits
client/mysqltest.c: Add comments Group inits logically
parent
af7f6307
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
client/mysqltest.c
client/mysqltest.c
+9
-4
No files found.
client/mysqltest.c
View file @
11f1cba7
...
...
@@ -4280,25 +4280,30 @@ int main(int argc, char **argv)
save_file
[
0
]
=
0
;
TMPDIR
[
0
]
=
0
;
/* Init cons */
memset
(
cons
,
0
,
sizeof
(
cons
));
cons_end
=
cons
+
MAX_CONS
;
next_con
=
cons
+
1
;
cur_con
=
cons
;
/* Init file stack */
memset
(
file_stack
,
0
,
sizeof
(
file_stack
));
memset
(
&
master_pos
,
0
,
sizeof
(
master_pos
));
file_stack_end
=
file_stack
+
MAX_INCLUDE_DEPTH
-
1
;
cur_file
=
file_stack
;
my_init_dynamic_array
(
&
q_lines
,
sizeof
(
struct
st_query
*
),
INIT_Q_LINES
,
INIT_Q_LINES
);
/* Init block stack */
memset
(
block_stack
,
0
,
sizeof
(
block_stack
));
block_stack_end
=
block_stack
+
BLOCK_STACK_DEPTH
-
1
;
cur_block
=
block_stack
;
cur_block
->
ok
=
TRUE
;
/* Outer block should always be executed */
cur_block
->
cmd
=
cmd_none
;
my_init_dynamic_array
(
&
q_lines
,
sizeof
(
struct
st_query
*
),
INIT_Q_LINES
,
INIT_Q_LINES
);
memset
(
&
master_pos
,
0
,
sizeof
(
master_pos
));
init_dynamic_string
(
&
ds_res
,
""
,
0
,
65536
);
parse_args
(
argc
,
argv
);
...
...
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