1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

corrected error message for OPTIMIZE/ANALYZE/etc,

also for InnoDB that supports CHECK table but not REPAIR
This commit is contained in:
unknown
2002-11-08 22:22:23 +01:00
parent f76bf0d9db
commit 93b95819da
23 changed files with 29 additions and 24 deletions

View File

@ -188,7 +188,7 @@
"Update tabulky bez WHERE s kl-B<><42>em nen<65> v m<>du bezpe<70>n<EFBFBD>ch update dovoleno",
"Kl-B<><42> '%-.64s' v tabulce '%-.64s' neexistuje",
"Nemohu otev-B<><42>t tabulku",
"Handler tabulky nepodporuje check/repair",
"Handler tabulky nepodporuje %s",
"Proveden-B<> tohoto p<><70>kazu nen<65> v transakci dovoleno",
"Chyba %d p-B<>i COMMIT",
"Chyba %d p-B<>i ROLLBACK",

View File

@ -182,7 +182,7 @@
"Du bruger sikker opdaterings modus ('safe update mode') og du fors<72>gte at opdatere en tabel uden en WHERE klausul, der g<>r brug af et KEY felt",
"N<>glen '%-.64s' eksisterer ikke i tabellen '%-.64s'",
"Kan ikke <20>bne tabellen",
"Denne tabeltype underst<73>tter ikke CHECK/REPAIR",
"Denne tabeltype underst<73>tter ikke %s",
"Du m<> ikke bruge denne kommando i en transaktion",
"Modtog fejl %d mens kommandoen COMMIT blev udf<64>rt",
"Modtog fejl %d mens kommandoen ROLLBACK blev udf<64>rt",

View File

@ -190,7 +190,7 @@
"U gebruikt 'safe update mode' en u probeerde een tabel te updaten zonder een WHERE met een KEY kolom",
"Zoeksleutel '%-.64s' bestaat niet in tabel '%-.64s'",
"Kan tabel niet openen",
"De 'handler' voor de tabel ondersteund geen check/repair",
"De 'handler' voor de tabel ondersteund geen %s",
"Het is u niet toegestaan dit commando uit te voeren binnen een transactie",
"Kreeg fout %d tijdens COMMIT",
"Kreeg fout %d tijdens ROLLBACK",

View File

@ -179,7 +179,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -184,7 +184,7 @@
"Katse muuta tabelit turvalises rezhiimis ilma WHERE klauslita",
"V<>ti '%-.64s' ei eksisteeri tabelis '%-.64s'",
"Ei suuda avada tabelit",
"Antud tabelit<69><74>p ei toeta CHECK/REPAIR k<>ske",
"Antud tabelit<69><74>p ei toeta %s k<>ske",
"Seda k<>sku ei saa kasutada transaktsiooni sees",
"Viga %d k<>su COMMIT t<>itmisel",
"Viga %d k<>su ROLLBACK t<>itmisel",

View File

@ -179,7 +179,7 @@
"Vous <20>tes en mode 'safe update' et vous essayez de faire un UPDATE sans clause WHERE utilisant un index",
"L'index '%-.64s' n'existe pas sur la table '%-.64s'",
"Impossible d'ouvrir la table",
"Ce type de table ne supporte pas les check/repair",
"Ce type de table ne supporte pas les %s",
"Vous n'<27>tes pas autoris<69> <20> ex<65>cute cette commande dans une transaction",
"Erreur %d lors du COMMIT",
"Erreur %d lors du ROLLBACK",

View File

@ -182,7 +182,7 @@
"Unter Verwendung des Sicheren Updatemodes wurde versucht eine Tabelle zu updaten ohne eine KEY-Spalte in der WHERE-Klausel",
"Schl<68>ssel '%-.64s' existiert nicht in der Tabelle '%-.64s'",
"Kann Tabelle nicht <20>ffnen",
"Der Tabellen-Handler f<>r diese Tabelle unterst<73>tzt kein check/repair",
"Der Tabellen-Handler f<>r diese Tabelle unterst<73>tzt kein %s",
"Keine Berechtigung dieses Kommando in einer Transaktion auszuf<75>hren",
"Fehler %d w<>rend COMMIT",
"Fehler %d w<>rend ROLLBACK",

View File

@ -179,7 +179,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -181,7 +181,7 @@
"On a biztonsagos update modot hasznalja, es WHERE that uses a KEY column",
"A '%-.64s' kulcs nem letezik a '%-.64s' tablaban",
"Nem tudom megnyitni a tablat",
"A tabla kezeloje (handler) nem tamogatja az ellenorzest/helyreallitast",
"A tabla kezeloje (handler) nem tamogatja az %s",
"Az On szamara nem engedelyezett a parancs vegrehajtasa a tranzakcioban",
"%d hiba a COMMIT vegrehajtasa soran",
"%d hiba a ROLLBACK vegrehajtasa soran",

View File

@ -179,7 +179,7 @@
"In modalita` 'safe update' si e` cercato di aggiornare una tabella senza clausola WHERE su una chiave",
"La chiave '%-.64s' non esiste nella tabella '%-.64s'",
"Impossibile aprire la tabella",
"Il gestore per la tabella non supporta il controllo/riparazione",
"Il gestore per la tabella non supporta il %s",
"Non puoi eseguire questo comando in una transazione",
"Rilevato l'errore %d durante il COMMIT",
"Rilevato l'errore %d durante il ROLLBACK",

View File

@ -181,7 +181,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -179,7 +179,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -181,7 +181,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -181,7 +181,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -183,7 +183,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -179,7 +179,7 @@
"Voc<6F> est<73> usando modo de atualiza<7A><61>o seguro e tentou atualizar uma tabela sem uma cl<63>usula WHERE que use uma coluna chave",
"Chave '%-.64s' n<>o existe na tabela '%-.64s'",
"N<>o pode abrir a tabela",
"O manipulador de tabela n<>o suporta checagem/repara<72><61>o (check/repair)",
"O manipulador de tabela n<>o suporta %s",
"N<>o lhe <20> permitido executar este comando em uma transa<73><61>o",
"Obteve erro %d durante COMMIT",
"Obteve erro %d durante ROLLBACK",

View File

@ -183,7 +183,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -182,7 +182,7 @@
"MySQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (safe_mode) - <20><> <20><><EFBFBD><EFBFBD> UPDATE <20><><EFBFBD> WHERE <20> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> KEY",
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '%-.64s'",
"<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> check/repair",
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s",
"<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %d <20><> <20><><EFBFBD><EFBFBD><EFBFBD> COMMIT",
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %d <20><> <20><><EFBFBD><EFBFBD><EFBFBD> ROLLBACK",

View File

@ -187,7 +187,7 @@
"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",
"Key '%-.64s' doesn't exist in table '%-.64s'",
"Can't open table",
"The handler for the table doesn't support check/repair",
"The handler for the table doesn't support %s",
"You are not allowed to execute this command in a transaction",
"Got error %d during COMMIT",
"Got error %d during ROLLBACK",

View File

@ -180,7 +180,7 @@
"Tu est<73>s usando modo de actualizaci<63>n segura y tentado actualizar una tabla sin un WHERE que usa una KEY columna",
"Clave '%-.64s' no existe en la tabla '%-.64s'",
"No puedo abrir tabla",
"El manipulador de la tabla no permite soporte para check/repair",
"El manipulador de la tabla no permite soporte para %s",
"No tienes el permiso para ejecutar este comando en una transici<63>n",
"Obtenido error %d durante COMMIT",
"Obtenido error %d durante ROLLBACK",

View File

@ -179,7 +179,7 @@
"Du anv<6E>nder 's<>ker uppdaterings mod' och f<>rs<72>kte uppdatera en table utan en WHERE sats som anv<6E>nder sig av en nyckel",
"Nyckel '%-.64s' finns inte in tabell '%-.64s'",
"Kan inte <20>ppna tabellen",
"Tabellhanteraren f<>r denna tabell kan inte g<>ra check/repair",
"Tabellhanteraren f<>r denna tabell kan inte g<>ra %s",
"Du f<>r inte utf<74>ra detta kommando i en transaktion",
"Fick fel %d vid COMMIT",
"Fick fel %d vid ROLLBACK",

View File

@ -184,7 +184,7 @@
"<22><> <20> <20><><EFBFBD><EFBFBD>ͦ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> WHERE, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ KEY <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
"<22><><EFBFBD><EFBFBD> '%-.64s' <20><> <20><><EFBFBD>դ <20> <20><><EFBFBD><EFBFBD><EFBFBD>æ '%-.64s'",
"<22><> <20><><EFBFBD><EFBFBD> צ<><D7A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
"<22><><EFBFBD>ڦ<EFBFBD><DAA6><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>æ <20><> Ц<><D0A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>צ<EFBFBD><EFBFBD><EFBFBD><><D7A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
"<22><><EFBFBD>ڦ<EFBFBD><DAA6><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>æ <20><> Ц<><D0A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s",
"<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>æ<EFBFBD>",
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %d Ц<> <20><><EFBFBD> COMMIT",
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %d Ц<> <20><><EFBFBD> ROLLBACK",

View File

@ -1167,8 +1167,13 @@ static int mysql_admin_table(THD* thd, TABLE_LIST* tables,
switch (result_code) {
case HA_ADMIN_NOT_IMPLEMENTED:
net_store_data(packet, "error");
net_store_data(packet, ER(ER_CHECK_NOT_IMPLEMENTED));
{
char buf[ERRMSGSIZE+20];
my_snprintf(buf, ERRMSGSIZE,
ER(ER_CHECK_NOT_IMPLEMENTED), operator_name);
net_store_data(packet, "error");
net_store_data(packet, buf);
}
break;
case HA_ADMIN_OK: