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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
669184f4
Commit
669184f4
authored
Dec 23, 2002
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
many bug fixes
parent
446b9c07
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
sql/log.cc
sql/log.cc
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+2
-1
No files found.
sql/log.cc
View file @
669184f4
...
...
@@ -963,6 +963,7 @@ bool MYSQL_LOG::write(THD *thd,const char *query, uint query_length,
end
=
strxmov
(
buff
,
"# administrator command: "
,
command_name
[
thd
->
command
],
NullS
);
query_length
=
(
ulong
)
(
end
-
buff
);
query
=
buff
;
}
if
(
my_b_write
(
&
log_file
,
(
byte
*
)
query
,
query_length
)
||
my_b_write
(
&
log_file
,
(
byte
*
)
";
\n
"
,
2
)
||
...
...
sql/mysqld.cc
View file @
669184f4
...
...
@@ -2984,7 +2984,7 @@ CHANGEABLE_VAR changeable_vars[] = {
#endif
,
0
,
1
,
0
,
1
},
{
"max_allowed_packet"
,
(
long
*
)
&
max_allowed_packet
,
1024
*
1024L
,
80
,
64
*
1024
*
1024
L
,
MALLOC_OVERHEAD
,
1024
},
1024
*
1024L
,
80
,
255
*
255
*
255
L
,
MALLOC_OVERHEAD
,
1024
},
{
"max_binlog_cache_size"
,
(
long
*
)
&
max_binlog_cache_size
,
~
0L
,
IO_SIZE
,
~
0L
,
0
,
IO_SIZE
},
{
"max_binlog_size"
,
(
long
*
)
&
max_binlog_size
,
...
...
sql/sql_select.cc
View file @
669184f4
...
...
@@ -2328,7 +2328,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
if
((
tab
->
keys
&
~
tab
->
const_keys
&&
i
>
0
)
||
tab
->
const_keys
&&
i
==
join
->
const_tables
&&
join
->
thd
->
select_limit
<
join
->
best_positions
[
i
].
records_read
)
join
->
thd
->
select_limit
<
join
->
best_positions
[
i
].
records_read
&&
join
->
tables
>
1
)
{
/* Join with outer join condition */
COND
*
orig_cond
=
sel
->
cond
;
...
...
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