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
8ded2093
Commit
8ded2093
authored
Nov 21, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postreview changes
parent
8ca32a4e
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
39 additions
and
11 deletions
+39
-11
include/mysqld_error.h
include/mysqld_error.h
+2
-1
sql/share/czech/errmsg.txt
sql/share/czech/errmsg.txt
+1
-0
sql/share/danish/errmsg.txt
sql/share/danish/errmsg.txt
+1
-0
sql/share/dutch/errmsg.txt
sql/share/dutch/errmsg.txt
+1
-0
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+1
-0
sql/share/estonian/errmsg.txt
sql/share/estonian/errmsg.txt
+1
-0
sql/share/french/errmsg.txt
sql/share/french/errmsg.txt
+1
-0
sql/share/german/errmsg.txt
sql/share/german/errmsg.txt
+1
-0
sql/share/greek/errmsg.txt
sql/share/greek/errmsg.txt
+1
-0
sql/share/hungarian/errmsg.txt
sql/share/hungarian/errmsg.txt
+1
-0
sql/share/italian/errmsg.txt
sql/share/italian/errmsg.txt
+1
-0
sql/share/japanese/errmsg.txt
sql/share/japanese/errmsg.txt
+1
-0
sql/share/korean/errmsg.txt
sql/share/korean/errmsg.txt
+1
-0
sql/share/norwegian-ny/errmsg.txt
sql/share/norwegian-ny/errmsg.txt
+1
-0
sql/share/norwegian/errmsg.txt
sql/share/norwegian/errmsg.txt
+1
-0
sql/share/polish/errmsg.txt
sql/share/polish/errmsg.txt
+1
-0
sql/share/portuguese/errmsg.txt
sql/share/portuguese/errmsg.txt
+1
-0
sql/share/romanian/errmsg.txt
sql/share/romanian/errmsg.txt
+1
-0
sql/share/russian/errmsg.txt
sql/share/russian/errmsg.txt
+1
-0
sql/share/serbian/errmsg.txt
sql/share/serbian/errmsg.txt
+1
-0
sql/share/slovak/errmsg.txt
sql/share/slovak/errmsg.txt
+1
-0
sql/share/spanish/errmsg.txt
sql/share/spanish/errmsg.txt
+1
-0
sql/share/swedish/errmsg.txt
sql/share/swedish/errmsg.txt
+1
-0
sql/share/ukrainian/errmsg.txt
sql/share/ukrainian/errmsg.txt
+2
-1
sql/sql_table.cc
sql/sql_table.cc
+13
-9
No files found.
include/mysqld_error.h
View file @
8ded2093
...
@@ -408,4 +408,5 @@
...
@@ -408,4 +408,5 @@
#define ER_WRONG_MAGIC 1389
#define ER_WRONG_MAGIC 1389
#define ER_PS_MANY_PARAM 1390
#define ER_PS_MANY_PARAM 1390
#define ER_KEY_PART_0 1391
#define ER_KEY_PART_0 1391
#define ER_ERROR_MESSAGES 392
#define ER_VIEW_CHECKSUM 1392
#define ER_ERROR_MESSAGES 393
sql/share/czech/errmsg.txt
View file @
8ded2093
...
@@ -420,3 +420,4 @@ character-set=latin2
...
@@ -420,3 +420,4 @@ character-set=latin2
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/danish/errmsg.txt
View file @
8ded2093
...
@@ -411,3 +411,4 @@ character-set=latin1
...
@@ -411,3 +411,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/dutch/errmsg.txt
View file @
8ded2093
...
@@ -420,3 +420,4 @@ character-set=latin1
...
@@ -420,3 +420,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/english/errmsg.txt
View file @
8ded2093
...
@@ -408,3 +408,4 @@ character-set=latin1
...
@@ -408,3 +408,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/estonian/errmsg.txt
View file @
8ded2093
...
@@ -413,3 +413,4 @@ character-set=latin7
...
@@ -413,3 +413,4 @@ character-set=latin7
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/french/errmsg.txt
View file @
8ded2093
...
@@ -408,3 +408,4 @@ character-set=latin1
...
@@ -408,3 +408,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/german/errmsg.txt
View file @
8ded2093
...
@@ -421,3 +421,4 @@ character-set=latin1
...
@@ -421,3 +421,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/greek/errmsg.txt
View file @
8ded2093
...
@@ -408,3 +408,4 @@ character-set=greek
...
@@ -408,3 +408,4 @@ character-set=greek
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/hungarian/errmsg.txt
View file @
8ded2093
...
@@ -413,3 +413,4 @@ character-set=latin2
...
@@ -413,3 +413,4 @@ character-set=latin2
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/italian/errmsg.txt
View file @
8ded2093
...
@@ -408,3 +408,4 @@ character-set=latin1
...
@@ -408,3 +408,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/japanese/errmsg.txt
View file @
8ded2093
...
@@ -412,3 +412,4 @@ character-set=ujis
...
@@ -412,3 +412,4 @@ character-set=ujis
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/korean/errmsg.txt
View file @
8ded2093
...
@@ -408,3 +408,4 @@ character-set=euckr
...
@@ -408,3 +408,4 @@ character-set=euckr
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/norwegian-ny/errmsg.txt
View file @
8ded2093
...
@@ -410,3 +410,4 @@ character-set=latin1
...
@@ -410,3 +410,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/norwegian/errmsg.txt
View file @
8ded2093
...
@@ -410,3 +410,4 @@ character-set=latin1
...
@@ -410,3 +410,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/polish/errmsg.txt
View file @
8ded2093
...
@@ -413,3 +413,4 @@ character-set=latin2
...
@@ -413,3 +413,4 @@ character-set=latin2
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/portuguese/errmsg.txt
View file @
8ded2093
...
@@ -410,3 +410,4 @@ character-set=latin1
...
@@ -410,3 +410,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/romanian/errmsg.txt
View file @
8ded2093
...
@@ -413,3 +413,4 @@ character-set=latin2
...
@@ -413,3 +413,4 @@ character-set=latin2
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/russian/errmsg.txt
View file @
8ded2093
...
@@ -413,3 +413,4 @@ character-set=koi8r
...
@@ -413,3 +413,4 @@ character-set=koi8r
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
" VIEW "
sql/share/serbian/errmsg.txt
View file @
8ded2093
...
@@ -401,3 +401,4 @@ character-set=cp1250
...
@@ -401,3 +401,4 @@ character-set=cp1250
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/slovak/errmsg.txt
View file @
8ded2093
...
@@ -416,3 +416,4 @@ character-set=latin2
...
@@ -416,3 +416,4 @@ character-set=latin2
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/spanish/errmsg.txt
View file @
8ded2093
...
@@ -412,3 +412,4 @@ character-set=latin1
...
@@ -412,3 +412,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/swedish/errmsg.txt
View file @
8ded2093
...
@@ -408,3 +408,4 @@ character-set=latin1
...
@@ -408,3 +408,4 @@ character-set=latin1
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"View text checksum failed"
sql/share/ukrainian/errmsg.txt
View file @
8ded2093
...
@@ -391,7 +391,7 @@ character-set=koi8u
...
@@ -391,7 +391,7 @@ character-set=koi8u
"Incorrect %-.32s value: '%-.128s' for column '%.64s' at row %ld",
"Incorrect %-.32s value: '%-.128s' for column '%.64s' at row %ld",
"Illegal %s '%-.64s' value found during parsing",
"Illegal %s '%-.64s' value found during parsing",
"CHECK OPTION VIEW '%-.64s.%-.64s' "
"CHECK OPTION VIEW '%-.64s.%-.64s' "
"צ CHECK OPTION VIEW '%-.64s.%-.64s' "
"צ CHECK OPTION VIEW '%-.64s.%-.64s' "
"Access denied; you are not the procedure/function definer of '%s'"
"Access denied; you are not the procedure/function definer of '%s'"
"Failed purging old relay logs: %s"
"Failed purging old relay logs: %s"
"Password hash should be a %d-digit hexadecimal number"
"Password hash should be a %d-digit hexadecimal number"
...
@@ -414,3 +414,4 @@ character-set=koi8u
...
@@ -414,3 +414,4 @@ character-set=koi8u
"Wrong magic in %-.64s"
"Wrong magic in %-.64s"
"Prepared statement contains too many placeholders"
"Prepared statement contains too many placeholders"
"Key part '%-.64s' length cannot be 0"
"Key part '%-.64s' length cannot be 0"
"צ ϧ VIEW "
sql/sql_table.cc
View file @
8ded2093
...
@@ -1747,10 +1747,9 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
...
@@ -1747,10 +1747,9 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
uint
extra_open_options
,
uint
extra_open_options
,
int
(
*
prepare_func
)(
THD
*
,
TABLE_LIST
*
,
int
(
*
prepare_func
)(
THD
*
,
TABLE_LIST
*
,
HA_CHECK_OPT
*
),
HA_CHECK_OPT
*
),
int
(
handler
::*
operator_func
)
int
(
handler
::*
operator_func
)(
THD
*
,
(
THD
*
,
HA_CHECK_OPT
*
),
HA_CHECK_OPT
*
),
int
(
view_operator_func
)
int
(
view_operator_func
)(
THD
*
,
TABLE_LIST
*
))
(
THD
*
,
TABLE_LIST
*
))
{
{
TABLE_LIST
*
table
,
*
next_global_table
;
TABLE_LIST
*
table
,
*
next_global_table
;
List
<
Item
>
field_list
;
List
<
Item
>
field_list
;
...
@@ -1808,12 +1807,16 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
...
@@ -1808,12 +1807,16 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
}
}
/*
/*
for this command used only temporary table method (without
CHECK TABLE command is only command where VIEW allowed here and this
filling tables), so if opening succeed, table will be opened
command use only temporary teble method for VIEWs resolving => there
can't be VIEW tree substitition of join view => if opening table
succeed then table->table will have real TABLE pointer as value (in
case of join view substitution table->table can be 0, but here it is
impossible)
*/
*/
if
(
!
table
->
table
)
if
(
!
table
->
table
)
{
{
char
buf
[
ERRMSGSIZE
+
25
];
char
buf
[
ERRMSGSIZE
+
ERRMSGSIZE
+
2
];
const
char
*
err_msg
;
const
char
*
err_msg
;
protocol
->
prepare_for_resend
();
protocol
->
prepare_for_resend
();
protocol
->
store
(
table_name
,
system_charset_info
);
protocol
->
store
(
table_name
,
system_charset_info
);
...
@@ -1825,7 +1828,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
...
@@ -1825,7 +1828,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
if
(
table
->
view
&&
if
(
table
->
view
&&
view_checksum
(
thd
,
table
)
==
HA_ADMIN_WRONG_CHECKSUM
)
view_checksum
(
thd
,
table
)
==
HA_ADMIN_WRONG_CHECKSUM
)
{
{
strxmov
(
buf
,
"View checksum failed and "
,
err_msg
,
NullS
);
strxmov
(
buf
,
err_msg
,
"; "
,
ER
(
ER_VIEW_CHECKSUM
)
,
NullS
);
err_msg
=
(
const
char
*
)
buf
;
err_msg
=
(
const
char
*
)
buf
;
}
}
protocol
->
store
(
err_msg
,
system_charset_info
);
protocol
->
store
(
err_msg
,
system_charset_info
);
...
@@ -1961,7 +1964,8 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
...
@@ -1961,7 +1964,8 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
case
HA_ADMIN_WRONG_CHECKSUM
:
case
HA_ADMIN_WRONG_CHECKSUM
:
{
{
protocol
->
store
(
"note"
,
4
,
system_charset_info
);
protocol
->
store
(
"note"
,
4
,
system_charset_info
);
protocol
->
store
(
"Checksum error"
,
14
,
system_charset_info
);
protocol
->
store
(
ER
(
ER_VIEW_CHECKSUM
),
strlen
(
ER
(
ER_VIEW_CHECKSUM
)),
system_charset_info
);
break
;
break
;
}
}
...
...
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