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
a7c63481
Commit
a7c63481
authored
Apr 06, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed errors found during review
parent
beb28b27
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
34 additions
and
33 deletions
+34
-33
mysql-test/r/drop.result
mysql-test/r/drop.result
+2
-2
mysql-test/r/kill.result
mysql-test/r/kill.result
+1
-1
mysql-test/t/kill.test
mysql-test/t/kill.test
+1
-1
mysys/my_sync.c
mysys/my_sync.c
+1
-1
sql/records.cc
sql/records.cc
+1
-1
sql/share/errmsg.txt
sql/share/errmsg.txt
+24
-24
sql/sql_class.cc
sql/sql_class.cc
+3
-2
sql/sql_show.cc
sql/sql_show.cc
+1
-1
No files found.
mysql-test/r/drop.result
View file @
a7c63481
...
@@ -30,13 +30,13 @@ table7, table8, table9, table10, table11, table12, table13,
...
@@ -30,13 +30,13 @@ table7, table8, table9, table10, table11, table12, table13,
table14, table15, table16, table17, table18, table19, table20,
table14, table15, table16, table17, table18, table19, table20,
table21, table22, table23, table24, table25, table26, table27,
table21, table22, table23, table24, table25, table26, table27,
table28;
table28;
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table
14,table15,table16,table17,table18,table19,table20,table21,table22,table23,table
'
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table'
drop table table1, table2, table3, table4, table5, table6,
drop table table1, table2, table3, table4, table5, table6,
table7, table8, table9, table10, table11, table12, table13,
table7, table8, table9, table10, table11, table12, table13,
table14, table15, table16, table17, table18, table19, table20,
table14, table15, table16, table17, table18, table19, table20,
table21, table22, table23, table24, table25, table26, table27,
table21, table22, table23, table24, table25, table26, table27,
table28, table29, table30;
table28, table29, table30;
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table
14,table15,table16,table17,table18,table19,table20,table21,table22,table23,table
'
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table'
use test;
use test;
drop database mysqltest;
drop database mysqltest;
flush tables with read lock;
flush tables with read lock;
...
...
mysql-test/r/kill.result
View file @
a7c63481
...
@@ -6,7 +6,7 @@ select ((@id := kill_id) - kill_id) from t1;
...
@@ -6,7 +6,7 @@ select ((@id := kill_id) - kill_id) from t1;
0
0
kill @id;
kill @id;
select 1;
select 1;
ERROR HY000: MySQL server has gone away
Got one of the listed errors
select ((@id := kill_id) - kill_id) from t1;
select ((@id := kill_id) - kill_id) from t1;
((@id := kill_id) - kill_id)
((@id := kill_id) - kill_id)
0
0
...
...
mysql-test/t/kill.test
View file @
a7c63481
...
@@ -27,7 +27,7 @@ connection con1;
...
@@ -27,7 +27,7 @@ connection con1;
--
disable_reconnect
--
disable_reconnect
# this statement should fail
# this statement should fail
--
error
2006
--
error
2006
,
2013
select
1
;
select
1
;
--
enable_reconnect
--
enable_reconnect
# this should work, and we should have a new connection_id()
# this should work, and we should have a new connection_id()
...
...
mysys/my_sync.c
View file @
a7c63481
...
@@ -65,7 +65,7 @@ int my_sync(File fd, myf my_flags)
...
@@ -65,7 +65,7 @@ int my_sync(File fd, myf my_flags)
int
er
=
errno
;
int
er
=
errno
;
if
(
!
(
my_errno
=
er
))
if
(
!
(
my_errno
=
er
))
my_errno
=
-
1
;
/* Unknown error */
my_errno
=
-
1
;
/* Unknown error */
if
(
my_flags
&
MY_IGNORE_BADFD
&&
if
(
(
my_flags
&
MY_IGNORE_BADFD
)
&&
(
er
==
EBADF
||
er
==
EINVAL
||
er
==
EROFS
))
(
er
==
EBADF
||
er
==
EINVAL
||
er
==
EROFS
))
res
=
0
;
res
=
0
;
else
if
(
my_flags
&
MY_WME
)
else
if
(
my_flags
&
MY_WME
)
...
...
sql/records.cc
View file @
a7c63481
...
@@ -131,7 +131,7 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
...
@@ -131,7 +131,7 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
/* Condition pushdown to storage engine */
/* Condition pushdown to storage engine */
if
(
thd
->
variables
.
engine_condition_pushdown
&&
if
(
thd
->
variables
.
engine_condition_pushdown
&&
select
&&
select
->
cond
&&
select
&&
select
->
cond
&&
select
->
cond
->
used_tables
()
&
table
->
map
&&
(
select
->
cond
->
used_tables
()
&
table
->
map
)
&&
!
table
->
file
->
pushed_cond
)
!
table
->
file
->
pushed_cond
)
table
->
file
->
cond_push
(
select
->
cond
);
table
->
file
->
cond_push
(
select
->
cond
);
...
...
sql/share/errmsg.txt
View file @
a7c63481
...
@@ -1214,30 +1214,30 @@ ER_TABLE_EXISTS_ERROR 42S01
...
@@ -1214,30 +1214,30 @@ ER_TABLE_EXISTS_ERROR 42S01
swe "Tabellen '%-.64s' finns redan"
swe "Tabellen '%-.64s' finns redan"
ukr " '%-.64s' դ"
ukr " '%-.64s' դ"
ER_BAD_TABLE_ERROR 42S02
ER_BAD_TABLE_ERROR 42S02
cze "Nezn-Bm tabulka '%-.1
8
0s'"
cze "Nezn-Bm tabulka '%-.1
0
0s'"
dan "Ukendt tabel '%-.1
8
0s'"
dan "Ukendt tabel '%-.1
0
0s'"
nla "Onbekende tabel '%-.1
8
0s'"
nla "Onbekende tabel '%-.1
0
0s'"
eng "Unknown table '%-.1
8
0s'"
eng "Unknown table '%-.1
0
0s'"
jps "table '%-.1
8
0s' ͂܂.",
jps "table '%-.1
0
0s' ͂܂.",
est "Tundmatu tabel '%-.1
8
0s'"
est "Tundmatu tabel '%-.1
0
0s'"
fre "Table '%-.1
8
0s' inconnue"
fre "Table '%-.1
0
0s' inconnue"
ger "Unbekannte Tabelle '%-.1
8
0s'"
ger "Unbekannte Tabelle '%-.1
0
0s'"
greek " '%-.1
8
0s'"
greek " '%-.1
0
0s'"
hun "Ervenytelen tabla: '%-.1
8
0s'"
hun "Ervenytelen tabla: '%-.1
0
0s'"
ita "Tabella '%-.1
8
0s' sconosciuta"
ita "Tabella '%-.1
0
0s' sconosciuta"
jpn "table '%-.1
8
0s' Ϥޤ."
jpn "table '%-.1
0
0s' Ϥޤ."
kor "̺ '%-.1
8
0s' ˼ "
kor "̺ '%-.1
0
0s' ˼ "
nor "Ukjent tabell '%-.1
8
0s'"
nor "Ukjent tabell '%-.1
0
0s'"
norwegian-ny "Ukjent tabell '%-.1
8
0s'"
norwegian-ny "Ukjent tabell '%-.1
0
0s'"
pol "Nieznana tabela '%-.1
8
0s'"
pol "Nieznana tabela '%-.1
0
0s'"
por "Tabela '%-.1
8
0s' desconhecida"
por "Tabela '%-.1
0
0s' desconhecida"
rum "Tabela '%-.1
8
0s' este invalida"
rum "Tabela '%-.1
0
0s' este invalida"
rus " '%-.1
8
0s'"
rus " '%-.1
0
0s'"
serbian "Nepoznata tabela '%-.1
8
0s'"
serbian "Nepoznata tabela '%-.1
0
0s'"
slo "Neznma tabuka '%-.1
8
0s'"
slo "Neznma tabuka '%-.1
0
0s'"
spa "Tabla '%-.1
8
0s' desconocida"
spa "Tabla '%-.1
0
0s' desconocida"
swe "Oknd tabell '%-.1
8
0s'"
swe "Oknd tabell '%-.1
0
0s'"
ukr "צ '%-.1
8
0s'"
ukr "צ '%-.1
0
0s'"
ER_NON_UNIQ_ERROR 23000
ER_NON_UNIQ_ERROR 23000
cze "Sloupec '%-.64s' v %s nen-B zcela jasn"
cze "Sloupec '%-.64s' v %s nen-B zcela jasn"
dan "Felt: '%-.64s' i tabel %s er ikke entydigt"
dan "Felt: '%-.64s' i tabel %s er ikke entydigt"
...
...
sql/sql_class.cc
View file @
a7c63481
...
@@ -343,8 +343,9 @@ void THD::change_user(void)
...
@@ -343,8 +343,9 @@ void THD::change_user(void)
void
THD
::
cleanup
(
void
)
void
THD
::
cleanup
(
void
)
{
{
DBUG_ENTER
(
"THD::cleanup"
);
DBUG_ENTER
(
"THD::cleanup"
);
/* TODO uncomment the line below when binlog will be able to prepare */
#ifdef ENABLE_WHEN_BINLOG_WILL_BE_ABLE_TO_PREPARE
// if (transaction.xa_state != XA_PREPARED)
if
(
transaction
.
xa_state
!=
XA_PREPARED
)
#endif
ha_rollback
(
this
);
ha_rollback
(
this
);
if
(
locked_tables
)
if
(
locked_tables
)
{
{
...
...
sql/sql_show.cc
View file @
a7c63481
...
@@ -2312,7 +2312,7 @@ static int get_schema_column_record(THD *thd, struct st_table_list *tables,
...
@@ -2312,7 +2312,7 @@ static int get_schema_column_record(THD *thd, struct st_table_list *tables,
}
}
}
}
#else
#else
end
=
strmov
(
end
,
""
)
;
*
end
=
0
;
#endif
#endif
table
->
field
[
17
]
->
store
(
tmp
+
1
,
end
==
tmp
?
0
:
(
uint
)
(
end
-
tmp
-
1
),
cs
);
table
->
field
[
17
]
->
store
(
tmp
+
1
,
end
==
tmp
?
0
:
(
uint
)
(
end
-
tmp
-
1
),
cs
);
...
...
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