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
df8b036d
Commit
df8b036d
authored
Sep 13, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
parents
aedc0ab0
7eb9d41c
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
120 additions
and
33 deletions
+120
-33
mysql-test/t/isam.test
mysql-test/t/isam.test
+0
-18
mysql-test/t/lock_tables_lost_commit.test
mysql-test/t/lock_tables_lost_commit.test
+1
-1
mysql-test/t/subselect.test
mysql-test/t/subselect.test
+2
-0
sql/share/czech/errmsg.txt
sql/share/czech/errmsg.txt
+6
-1
sql/share/danish/errmsg.txt
sql/share/danish/errmsg.txt
+5
-0
sql/share/dutch/errmsg.txt
sql/share/dutch/errmsg.txt
+5
-0
sql/share/estonian/errmsg.txt
sql/share/estonian/errmsg.txt
+5
-0
sql/share/french/errmsg.txt
sql/share/french/errmsg.txt
+5
-0
sql/share/german/errmsg.txt
sql/share/german/errmsg.txt
+5
-0
sql/share/greek/errmsg.txt
sql/share/greek/errmsg.txt
+5
-0
sql/share/hungarian/errmsg.txt
sql/share/hungarian/errmsg.txt
+5
-0
sql/share/italian/errmsg.txt
sql/share/italian/errmsg.txt
+5
-0
sql/share/japanese/errmsg.txt
sql/share/japanese/errmsg.txt
+5
-0
sql/share/korean/errmsg.txt
sql/share/korean/errmsg.txt
+5
-0
sql/share/norwegian-ny/errmsg.txt
sql/share/norwegian-ny/errmsg.txt
+5
-0
sql/share/norwegian/errmsg.txt
sql/share/norwegian/errmsg.txt
+5
-0
sql/share/polish/errmsg.txt
sql/share/polish/errmsg.txt
+5
-0
sql/share/portuguese/errmsg.txt
sql/share/portuguese/errmsg.txt
+5
-0
sql/share/romanian/errmsg.txt
sql/share/romanian/errmsg.txt
+5
-0
sql/share/russian/errmsg.txt
sql/share/russian/errmsg.txt
+5
-0
sql/share/serbian/errmsg.txt
sql/share/serbian/errmsg.txt
+5
-0
sql/share/slovak/errmsg.txt
sql/share/slovak/errmsg.txt
+5
-0
sql/share/spanish/errmsg.txt
sql/share/spanish/errmsg.txt
+5
-0
sql/share/swedish/errmsg.txt
sql/share/swedish/errmsg.txt
+5
-0
sql/share/ukrainian/errmsg.txt
sql/share/ukrainian/errmsg.txt
+5
-0
sql/sql_select.cc
sql/sql_select.cc
+6
-13
No files found.
mysql-test/t/isam.test
View file @
df8b036d
...
...
@@ -71,24 +71,6 @@ show full columns from t1;
show
index
from
t1
;
drop
table
t1
,
t2
;
#
# Test of some show commands
#
create
table
t1
(
a
int
not
null
primary
key
,
b
int
not
null
,
c
int
not
null
,
key
(
b
,
c
));
insert
into
t1
values
(
1
,
2
,
2
),(
2
,
2
,
3
),(
3
,
2
,
4
),(
4
,
2
,
4
);
create
table
t2
type
=
isam
select
*
from
t1
;
optimize
table
t1
;
check
table
t1
,
t2
;
repair
table
t1
,
t2
;
check
table
t2
,
t1
;
lock
tables
t1
write
;
check
table
t2
,
t1
;
show
columns
from
t1
;
show
full
columns
from
t1
;
show
index
from
t1
;
drop
table
t1
,
t2
;
#
# test of table with huge number of packed fields
#
...
...
mysql-test/t/lock_tables_lost_commit.test
View file @
df8b036d
...
...
@@ -6,8 +6,8 @@ connect (con2,localhost,root,,);
connection
con1
;
--
disable_warnings
drop
table
if
exists
t1
;
--
enable_warnings
create
table
t1
(
a
int
)
type
=
innodb
;
--
enable_warnings
lock
tables
t1
write
;
insert
into
t1
values
(
10
);
disconnect
con1
;
...
...
mysql-test/t/subselect.test
View file @
df8b036d
...
...
@@ -892,9 +892,11 @@ DROP TABLE t1, t2;
#
# UNION unlocking test
#
--
disable_warnings
create
table
t1
(
a
int
)
type
=
innodb
;
create
table
t2
(
a
int
)
type
=
innodb
;
create
table
t3
(
a
int
)
type
=
innodb
;
--
enable_warnings
insert
into
t1
values
(
1
),(
2
),(
3
),(
4
);
insert
into
t2
values
(
10
),(
20
),(
30
),(
40
);
insert
into
t3
values
(
1
),(
2
),(
10
),(
50
);
...
...
sql/share/czech/errmsg.txt
View file @
df8b036d
v
/*
/*
Modifikoval Petr -Bnajdr, snajdr@pvt.net, snajdr@cpress.cz v.0.01
ISO LATIN-8852-2
Dal-B verze Jan Pazdziora, adelton@fi.muni.cz
...
...
@@ -270,6 +270,11 @@ v/*
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/danish/errmsg.txt
View file @
df8b036d
...
...
@@ -264,6 +264,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/dutch/errmsg.txt
View file @
df8b036d
...
...
@@ -272,6 +272,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/estonian/errmsg.txt
View file @
df8b036d
...
...
@@ -266,6 +266,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/french/errmsg.txt
View file @
df8b036d
...
...
@@ -261,6 +261,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/german/errmsg.txt
View file @
df8b036d
...
...
@@ -270,6 +270,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/greek/errmsg.txt
View file @
df8b036d
...
...
@@ -261,6 +261,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/hungarian/errmsg.txt
View file @
df8b036d
...
...
@@ -263,6 +263,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/italian/errmsg.txt
View file @
df8b036d
...
...
@@ -261,6 +261,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/japanese/errmsg.txt
View file @
df8b036d
...
...
@@ -263,6 +263,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/korean/errmsg.txt
View file @
df8b036d
...
...
@@ -261,6 +261,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/norwegian-ny/errmsg.txt
View file @
df8b036d
...
...
@@ -263,6 +263,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/norwegian/errmsg.txt
View file @
df8b036d
...
...
@@ -263,6 +263,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/polish/errmsg.txt
View file @
df8b036d
...
...
@@ -265,6 +265,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/portuguese/errmsg.txt
View file @
df8b036d
...
...
@@ -261,6 +261,11 @@
"Z_MEM_ERROR: Não suficiente espaço no buffer emissor para zlib (provavelmente, o comprimento dos dados descomprimidos está corrupto)",
"Z_DATA_ERROR: Dados de entrada está corrupto para zlib",
"%d linha(s) foi(foram) cortada(s) por group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Usando engine de armazenamento %s para tabela '%s'",
"Combinação ilegal de collations (%s,%s) e (%s,%s) para operação '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/romanian/errmsg.txt
View file @
df8b036d
...
...
@@ -265,6 +265,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/russian/errmsg.txt
View file @
df8b036d
...
...
@@ -263,6 +263,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/serbian/errmsg.txt
View file @
df8b036d
...
...
@@ -256,6 +256,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/slovak/errmsg.txt
View file @
df8b036d
...
...
@@ -269,6 +269,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/spanish/errmsg.txt
View file @
df8b036d
...
...
@@ -262,6 +262,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/swedish/errmsg.txt
View file @
df8b036d
...
...
@@ -261,6 +261,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d rad(er) kapades av group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Använder handler %s för tabell '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/share/ukrainian/errmsg.txt
View file @
df8b036d
...
...
@@ -266,6 +266,11 @@
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)",
"Z_DATA_ERROR: Input data was corrupted for zlib",
"%d line(s) was(were) cut by group_concat()",
"Record count is fewer than the column count at row %ld";
"Record count is more than the column count at row %ld";
"Data truncated, NULL supplied to NOT NULL column '%s' at row %ld";
"Data truncated, out of range for column '%s' at row %ld";
"Data truncated for column '%s' at row %ld"
"Using storage engine %s for table '%s'",
"Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'",
"Can't drop one or more of the requested users"
...
...
sql/sql_select.cc
View file @
df8b036d
...
...
@@ -478,8 +478,7 @@ bool JOIN::test_in_subselect(Item **where)
/*
global select optimisation.
return 0 - success
1 - go out
-1 - go out with cleaning
1 - error
error code saved in field 'error'
*/
int
...
...
@@ -516,11 +515,9 @@ JOIN::optimize()
conds
=
optimize_cond
(
conds
,
&
cond_value
);
if
(
thd
->
net
.
report_error
)
{
// quick abort
delete
procedure
;
error
=
thd
->
is_fatal_error
?
-
1
:
1
;
error
=
1
;
DBUG_PRINT
(
"error"
,(
"Error from optimize_cond"
));
DBUG_RETURN
(
error
);
DBUG_RETURN
(
1
);
}
if
(
cond_value
==
Item
::
COND_FALSE
||
...
...
@@ -543,8 +540,7 @@ JOIN::optimize()
{
if
(
res
>
1
)
{
delete
procedure
;
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
1
);
}
if
(
res
<
0
)
{
...
...
@@ -1514,7 +1510,7 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
conds
,
og_num
,
order
,
group
,
having
,
proc_param
,
select_lex
,
unit
,
tables_and_fields_initied
))
{
DBUG_RETURN
(
-
1
)
;
goto
err
;
}
}
join
->
select_options
=
select_options
;
...
...
@@ -1529,15 +1525,12 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
conds
,
og_num
,
order
,
group
,
having
,
proc_param
,
select_lex
,
unit
,
tables_and_fields_initied
))
{
DBUG_RETURN
(
-
1
)
;
goto
err
;
}
}
if
((
err
=
join
->
optimize
()))
{
if
(
err
==
-
1
)
DBUG_RETURN
(
join
->
error
);
DBUG_ASSERT
(
err
==
1
);
goto
err
;
// 1
}
...
...
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