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
edc78733
Commit
edc78733
authored
Jun 20, 2008
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Plain Diff
merging prior to push Bug #36443
parents
e66ba2a7
b4a45a71
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
265 additions
and
218 deletions
+265
-218
client/mysql.cc
client/mysql.cc
+1
-1
mysql-test/r/repair.result
mysql-test/r/repair.result
+1
-1
mysql-test/r/subselect.result
mysql-test/r/subselect.result
+7
-0
mysql-test/suite/rpl/t/disabled.def
mysql-test/suite/rpl/t/disabled.def
+1
-0
mysql-test/t/subselect.test
mysql-test/t/subselect.test
+12
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+239
-214
sql/sql_select.cc
sql/sql_select.cc
+2
-0
sql/sql_table.cc
sql/sql_table.cc
+1
-1
storage/innobase/Makefile.am
storage/innobase/Makefile.am
+1
-1
No files found.
client/mysql.cc
View file @
edc78733
...
@@ -1821,7 +1821,7 @@ static int read_and_execute(bool interactive)
...
@@ -1821,7 +1821,7 @@ static int read_and_execute(bool interactive)
the very beginning of a text file when
the very beginning of a text file when
you save the file using "Unicode UTF-8" format.
you save the file using "Unicode UTF-8" format.
*/
*/
if
(
!
line_number
&&
if
(
line
&&
!
line_number
&&
(
uchar
)
line
[
0
]
==
0xEF
&&
(
uchar
)
line
[
0
]
==
0xEF
&&
(
uchar
)
line
[
1
]
==
0xBB
&&
(
uchar
)
line
[
1
]
==
0xBB
&&
(
uchar
)
line
[
2
]
==
0xBF
)
(
uchar
)
line
[
2
]
==
0xBF
)
...
...
mysql-test/r/repair.result
View file @
edc78733
...
@@ -130,7 +130,7 @@ test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" to fix
...
@@ -130,7 +130,7 @@ test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" to fix
# REPAIR old table USE_FRM should fail
# REPAIR old table USE_FRM should fail
REPAIR TABLE t1 USE_FRM;
REPAIR TABLE t1 USE_FRM;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
t1 repair error Failed repa
ring incompatible .FRM
file
t1 repair error Failed repa
iring incompatible .frm
file
# Run REPAIR TABLE to upgrade .frm file
# Run REPAIR TABLE to upgrade .frm file
REPAIR TABLE t1;
REPAIR TABLE t1;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
...
...
mysql-test/r/subselect.result
View file @
edc78733
...
@@ -4391,3 +4391,10 @@ SELECT * FROM t1 WHERE _utf8'a' = ANY (SELECT s1 FROM t1);
...
@@ -4391,3 +4391,10 @@ SELECT * FROM t1 WHERE _utf8'a' = ANY (SELECT s1 FROM t1);
s1
s1
a
a
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1(c int, KEY(c));
CREATE TABLE t2(a int, b int);
INSERT INTO t2 VALUES (1, 10), (2, NULL);
INSERT INTO t1 VALUES (1), (3);
SELECT * FROM t2 WHERE b NOT IN (SELECT max(t.c) FROM t1, t1 t WHERE t.c>10);
a b
DROP TABLE t1,t2;
mysql-test/suite/rpl/t/disabled.def
View file @
edc78733
...
@@ -12,3 +12,4 @@
...
@@ -12,3 +12,4 @@
rpl_redirect : Failure is sporadic and and the test is superfluous (mats)
rpl_redirect : Failure is sporadic and and the test is superfluous (mats)
rpl_innodb_bug28430 : Failure on Solaris Bug #36793
rpl_innodb_bug28430 : Failure on Solaris Bug #36793
rpl_server_id1 : Bug #36818 rpl_server_id1 fails expecting slave has stopped (azundris)
mysql-test/t/subselect.test
View file @
edc78733
...
@@ -3273,3 +3273,15 @@ INSERT INTO t1 VALUES ('a');
...
@@ -3273,3 +3273,15 @@ INSERT INTO t1 VALUES ('a');
SELECT
*
FROM
t1
WHERE
_utf8
'a'
=
ANY
(
SELECT
s1
FROM
t1
);
SELECT
*
FROM
t1
WHERE
_utf8
'a'
=
ANY
(
SELECT
s1
FROM
t1
);
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Bug #37004: NOT IN subquery with MAX over an empty set
#
CREATE
TABLE
t1
(
c
int
,
KEY
(
c
));
CREATE
TABLE
t2
(
a
int
,
b
int
);
INSERT
INTO
t2
VALUES
(
1
,
10
),
(
2
,
NULL
);
INSERT
INTO
t1
VALUES
(
1
),
(
3
);
SELECT
*
FROM
t2
WHERE
b
NOT
IN
(
SELECT
max
(
t
.
c
)
FROM
t1
,
t1
t
WHERE
t
.
c
>
10
);
DROP
TABLE
t1
,
t2
;
scripts/make_binary_distribution.sh
View file @
edc78733
This diff is collapsed.
Click to expand it.
sql/sql_select.cc
View file @
edc78733
...
@@ -888,6 +888,7 @@ JOIN::optimize()
...
@@ -888,6 +888,7 @@ JOIN::optimize()
{
{
DBUG_PRINT
(
"info"
,(
"No matching min/max row"
));
DBUG_PRINT
(
"info"
,(
"No matching min/max row"
));
zero_result_cause
=
"No matching min/max row"
;
zero_result_cause
=
"No matching min/max row"
;
tables
=
0
;
error
=
0
;
error
=
0
;
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
...
@@ -901,6 +902,7 @@ JOIN::optimize()
...
@@ -901,6 +902,7 @@ JOIN::optimize()
{
{
DBUG_PRINT
(
"info"
,(
"No matching min/max row"
));
DBUG_PRINT
(
"info"
,(
"No matching min/max row"
));
zero_result_cause
=
"No matching min/max row"
;
zero_result_cause
=
"No matching min/max row"
;
tables
=
0
;
error
=
0
;
error
=
0
;
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
...
...
sql/sql_table.cc
View file @
edc78733
...
@@ -4024,7 +4024,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
...
@@ -4024,7 +4024,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
if
(
table
->
s
->
frm_version
!=
FRM_VER_TRUE_VARCHAR
)
if
(
table
->
s
->
frm_version
!=
FRM_VER_TRUE_VARCHAR
)
{
{
error
=
send_check_errmsg
(
thd
,
table_list
,
"repair"
,
error
=
send_check_errmsg
(
thd
,
table_list
,
"repair"
,
"Failed repa
ring incompatible .FRM
file"
);
"Failed repa
iring incompatible .frm
file"
);
goto
end
;
goto
end
;
}
}
...
...
storage/innobase/Makefile.am
View file @
edc78733
...
@@ -159,7 +159,7 @@ libinnobase_a_CXXFLAGS= $(AM_CFLAGS)
...
@@ -159,7 +159,7 @@ libinnobase_a_CXXFLAGS= $(AM_CFLAGS)
libinnobase_a_CFLAGS
=
$(AM_CFLAGS)
libinnobase_a_CFLAGS
=
$(AM_CFLAGS)
EXTRA_LTLIBRARIES
=
ha_innodb.la
EXTRA_LTLIBRARIES
=
ha_innodb.la
pkg
lib_LTLIBRARIES
=
@plugin_innobase_shared_target@
pkg
plugin_LTLIBRARIES
=
@plugin_innobase_shared_target@
ha_innodb_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_innodb_la_LDFLAGS
=
-module
-rpath
$(pkgplugindir)
ha_innodb_la_CXXFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
ha_innodb_la_CXXFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
...
...
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