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
a77fe70f
Commit
a77fe70f
authored
Aug 19, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge eel.(none):/home/jonas/src/mysql-5.0-push
into eel.(none):/home/jonas/tmp/kkk/mysql-5.0
parents
030cb739
dd16ad4e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
3 deletions
+21
-3
innobase/row/row0sel.c
innobase/row/row0sel.c
+5
-0
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+1
-1
mysql-test/r/show_check.result
mysql-test/r/show_check.result
+2
-0
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+1
-1
mysql-test/t/show_check.test
mysql-test/t/show_check.test
+5
-0
sql/sql_show.cc
sql/sql_show.cc
+7
-1
No files found.
innobase/row/row0sel.c
View file @
a77fe70f
...
...
@@ -3124,12 +3124,17 @@ row_search_for_mysql(
be zero; in that case select_lock_type is set to LOCK_X in
::start_stmt. */
/* August 19, 2005 by Heikki: temporarily disable this error print until the
cursor lock count is done correctly. See bugs #12263 and #12456!
fputs(
"InnoDB: Error: MySQL is trying to perform a SELECT\n"
"InnoDB: but it has not locked any tables in ::external_lock()!\n",
stderr);
trx_print(stderr, trx, 600);
fputc('\n', stderr);
*/
}
/* fprintf(stderr, "Match mode %lu\n search tuple ", (ulong) match_mode);
...
...
mysql-test/r/innodb.result
View file @
a77fe70f
...
...
@@ -904,7 +904,7 @@ insert into mysqltest.t3 values(1);
commit;
drop database mysqltest;
show tables from mysqltest;
Got one of the listed errors
ERROR 42000: Unknown database 'mysqltest'
set autocommit=0;
create table t1 (a int not null) engine= innodb;
insert into t1 values(1),(2);
...
...
mysql-test/r/show_check.result
View file @
a77fe70f
...
...
@@ -555,3 +555,5 @@ Database Table In_use Name_locked
DROP TABLE txt1;
DROP TABLE tyt2;
DROP TABLE urkunde;
SHOW TABLES FROM non_existing_database;
ERROR 42000: Unknown database 'non_existing_database'
mysql-test/t/innodb.test
View file @
a77fe70f
...
...
@@ -586,7 +586,7 @@ insert into mysqltest.t3 values(1);
commit
;
drop
database
mysqltest
;
# Don't check error message
--
error
1
2
,
12
--
error
1
049
show
tables
from
mysqltest
;
#
...
...
mysql-test/t/show_check.test
View file @
a77fe70f
...
...
@@ -405,3 +405,8 @@ SHOW OPEN TABLES;
DROP
TABLE
txt1
;
DROP
TABLE
tyt2
;
DROP
TABLE
urkunde
;
#
# BUG #12591 (SHOW TABLES FROM dbname produces wrong error message)
#
--
error
1049
SHOW
TABLES
FROM
non_existing_database
;
sql/sql_show.cc
View file @
a77fe70f
...
...
@@ -264,8 +264,14 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path,
bzero
((
char
*
)
&
table_list
,
sizeof
(
table_list
));
if
(
!
(
dirp
=
my_dir
(
path
,
MYF
(
MY_WME
|
(
dir
?
MY_WANT_STAT
:
0
)))))
if
(
!
(
dirp
=
my_dir
(
path
,
MYF
(
dir
?
MY_WANT_STAT
:
0
))))
{
if
(
my_errno
==
ENOENT
)
my_error
(
ER_BAD_DB_ERROR
,
MYF
(
ME_BELL
+
ME_WAITTANG
),
db
);
else
my_error
(
ER_CANT_READ_DIR
,
MYF
(
ME_BELL
+
ME_WAITTANG
),
path
,
my_errno
);
DBUG_RETURN
(
-
1
);
}
for
(
i
=
0
;
i
<
(
uint
)
dirp
->
number_off_files
;
i
++
)
{
...
...
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