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
6413c248
Commit
6413c248
authored
Jun 29, 2007
by
holyfoot/hf@hfmain.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk@192.168.21.1:mysql-5.1-opt
into mysql.com:/home/hf/work/29247/my51-29247
parents
48223dfc
cb7efcad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
sql-common/client.c
sql-common/client.c
+1
-0
sql/handler.h
sql/handler.h
+7
-4
No files found.
sql-common/client.c
View file @
6413c248
...
...
@@ -2459,6 +2459,7 @@ my_bool mysql_reconnect(MYSQL *mysql)
}
mysql_init
(
&
tmp_mysql
);
tmp_mysql
.
options
=
mysql
->
options
;
tmp_mysql
.
options
.
my_cnf_file
=
tmp_mysql
.
options
.
my_cnf_group
=
0
;
tmp_mysql
.
rpl_pivot
=
mysql
->
rpl_pivot
;
if
(
!
mysql_real_connect
(
&
tmp_mysql
,
mysql
->
host
,
mysql
->
user
,
mysql
->
passwd
,
...
...
sql/handler.h
View file @
6413c248
...
...
@@ -1130,10 +1130,12 @@ class handler :public Sql_alloc
int
ha_index_init
(
uint
idx
,
bool
sorted
)
{
int
result
;
DBUG_ENTER
(
"ha_index_init"
);
DBUG_ASSERT
(
inited
==
NONE
);
inited
=
INDEX
;
DBUG_RETURN
(
index_init
(
idx
,
sorted
));
if
(
!
(
result
=
index_init
(
idx
,
sorted
)))
inited
=
INDEX
;
DBUG_RETURN
(
result
);
}
int
ha_index_end
()
{
...
...
@@ -1144,10 +1146,11 @@ class handler :public Sql_alloc
}
int
ha_rnd_init
(
bool
scan
)
{
int
result
;
DBUG_ENTER
(
"ha_rnd_init"
);
DBUG_ASSERT
(
inited
==
NONE
||
(
inited
==
RND
&&
scan
));
inited
=
RND
;
DBUG_RETURN
(
r
nd_init
(
scan
)
);
inited
=
(
result
=
rnd_init
(
scan
))
?
NONE
:
RND
;
DBUG_RETURN
(
r
esult
);
}
int
ha_rnd_end
()
{
...
...
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