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
eb1fb609
Commit
eb1fb609
authored
Jun 12, 2007
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5.0-opt -> 5.1-opt merge
parent
fbefe9d5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
sql/item_func.cc
sql/item_func.cc
+3
-3
sql/sql_insert.cc
sql/sql_insert.cc
+2
-2
sql/sql_plugin.h
sql/sql_plugin.h
+2
-1
No files found.
sql/item_func.cc
View file @
eb1fb609
...
...
@@ -3581,10 +3581,10 @@ longlong Item_func_release_lock::val_int()
}
else
{
DBUG_PRINT
(
"info"
,
(
"ull->locked=%d ull->thread=%l
d thd=%ld
"
,
DBUG_PRINT
(
"info"
,
(
"ull->locked=%d ull->thread=%l
u thd=%lu
"
,
(
int
)
ull
->
locked
,
(
long
)
ull
->
thread
,
(
long
)
thd
->
real
_id
));
(
long
)
ull
->
thread
_id
,
(
long
)
thd
->
thread
_id
));
if
(
ull
->
locked
&&
current_thd
->
thread_id
==
ull
->
thread_id
)
{
DBUG_PRINT
(
"info"
,
(
"release lock"
));
...
...
sql/sql_insert.cc
View file @
eb1fb609
...
...
@@ -1419,8 +1419,8 @@ int write_record(THD *thd, TABLE *table,COPY_INFO *info)
goto
before_trg_err
;
table
->
file
->
restore_auto_increment
(
prev_insert_id
);
if
((
table
->
file
->
table_flags
()
&
HA_PARTIAL_COLUMN_READ
)
||
compare_record
(
table
,
thd
->
query_id
))
if
((
table
->
file
->
ha_
table_flags
()
&
HA_PARTIAL_COLUMN_READ
)
||
compare_record
(
table
))
{
if
((
error
=
table
->
file
->
ha_update_row
(
table
->
record
[
1
],
table
->
record
[
0
])))
...
...
sql/sql_plugin.h
View file @
eb1fb609
...
...
@@ -33,7 +33,8 @@ class sys_var;
*/
#define SHOW_FUNC SHOW_FUNC, SHOW_KEY_CACHE_LONG, SHOW_KEY_CACHE_LONGLONG, \
SHOW_LONG_STATUS, SHOW_DOUBLE_STATUS, SHOW_HAVE, \
SHOW_MY_BOOL, SHOW_HA_ROWS, SHOW_SYS, SHOW_LONG_NOFLUSH
SHOW_MY_BOOL, SHOW_HA_ROWS, SHOW_SYS, SHOW_LONG_NOFLUSH, \
SHOW_LONGLONG_STATUS
#include <mysql/plugin.h>
#undef SHOW_FUNC
typedef
enum
enum_mysql_show_type
SHOW_TYPE
;
...
...
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