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
162e9b98
Commit
162e9b98
authored
May 14, 2007
by
kostja@vajra.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a warning.
parent
25114c7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
sql/sql_insert.cc
sql/sql_insert.cc
+6
-6
No files found.
sql/sql_insert.cc
View file @
162e9b98
...
@@ -483,11 +483,6 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
...
@@ -483,11 +483,6 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
bool
ignore
)
bool
ignore
)
{
{
int
error
,
res
;
int
error
,
res
;
/*
log_on is about delayed inserts only.
By default, both logs are enabled (this won't cause problems if the server
runs without --log-update or --log-bin).
*/
bool
transactional_table
,
joins_freed
=
FALSE
;
bool
transactional_table
,
joins_freed
=
FALSE
;
bool
changed
;
bool
changed
;
uint
value_count
;
uint
value_count
;
...
@@ -501,9 +496,14 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
...
@@ -501,9 +496,14 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
Name_resolution_context_state
ctx_state
;
Name_resolution_context_state
ctx_state
;
#ifndef EMBEDDED_LIBRARY
#ifndef EMBEDDED_LIBRARY
char
*
query
=
thd
->
query
;
char
*
query
=
thd
->
query
;
#endif
/*
log_on is about delayed inserts only.
By default, both logs are enabled (this won't cause problems if the server
runs without --log-update or --log-bin).
*/
bool
log_on
=
(
thd
->
options
&
OPTION_BIN_LOG
)
||
bool
log_on
=
(
thd
->
options
&
OPTION_BIN_LOG
)
||
(
!
(
thd
->
security_ctx
->
master_access
&
SUPER_ACL
));
(
!
(
thd
->
security_ctx
->
master_access
&
SUPER_ACL
));
#endif
thr_lock_type
lock_type
=
table_list
->
lock_type
;
thr_lock_type
lock_type
=
table_list
->
lock_type
;
Item
*
unused_conds
=
0
;
Item
*
unused_conds
=
0
;
DBUG_ENTER
(
"mysql_insert"
);
DBUG_ENTER
(
"mysql_insert"
);
...
...
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