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
7805cdef
Commit
7805cdef
authored
Nov 13, 2006
by
holyfoot/hf@mysql.com/deer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/hf/work/embt/my41-embt
into mysql.com:/home/hf/work/embt/my50-embt
parents
1a8204f2
6e0045ed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
libmysqld/examples/test-run
libmysqld/examples/test-run
+1
-1
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+4
-0
sql/item_func.cc
sql/item_func.cc
+4
-0
No files found.
libmysqld/examples/test-run
View file @
7805cdef
...
...
@@ -10,7 +10,7 @@
top_builddir
=
../..
mysql_test_dir
=
$top_builddir
/mysql-test
examples
=
$top_builddir
/libmysqld/examples
mysqltest
=
$examples
/mysqltest
mysqltest
=
$examples
/mysqltest
_embedded
datadir
=
$mysql_test_dir
/var/master-data
test_data_dir
=
test
gdb
=
0
...
...
libmysqld/lib_sql.cc
View file @
7805cdef
...
...
@@ -584,6 +584,7 @@ void *create_embedded_thd(int client_flag)
thd
->
set_time
();
thd
->
init_for_queries
();
thd
->
client_capabilities
=
client_flag
;
thd
->
real_id
=
(
pthread_t
)
thd
;
thd
->
db
=
NULL
;
thd
->
db_length
=
0
;
...
...
@@ -1028,6 +1029,9 @@ void Protocol_simple::prepare_for_resend()
MYSQL_DATA
*
data
=
thd
->
cur_data
;
DBUG_ENTER
(
"send_data"
);
if
(
!
thd
->
mysql
)
// bootstrap file handling
DBUG_VOID_RETURN
;
data
->
rows
++
;
if
(
!
(
cur
=
(
MYSQL_ROWS
*
)
alloc_root
(
alloc
,
sizeof
(
MYSQL_ROWS
)
+
(
field_count
+
1
)
*
sizeof
(
char
*
))))
{
...
...
sql/item_func.cc
View file @
7805cdef
...
...
@@ -3347,7 +3347,11 @@ longlong Item_func_release_lock::val_int()
}
else
{
#ifdef EMBEDDED_LIBRARY
if
(
ull
->
locked
&&
pthread_equal
(
current_thd
->
real_id
,
ull
->
thread
))
#else
if
(
ull
->
locked
&&
pthread_equal
(
pthread_self
(),
ull
->
thread
))
#endif
{
result
=
1
;
// Release is ok
item_user_lock_release
(
ull
);
...
...
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