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
09113817
Commit
09113817
authored
Mar 07, 2004
by
paul@ice.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SESSION instead of LOCAL in error messages.
parent
f47fa6a7
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
26 additions
and
26 deletions
+26
-26
mysql-test/r/variables.result
mysql-test/r/variables.result
+4
-4
sql/set_var.cc
sql/set_var.cc
+1
-1
sql/share/czech/errmsg.txt
sql/share/czech/errmsg.txt
+1
-1
sql/share/danish/errmsg.txt
sql/share/danish/errmsg.txt
+1
-1
sql/share/dutch/errmsg.txt
sql/share/dutch/errmsg.txt
+1
-1
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+1
-1
sql/share/estonian/errmsg.txt
sql/share/estonian/errmsg.txt
+1
-1
sql/share/french/errmsg.txt
sql/share/french/errmsg.txt
+1
-1
sql/share/greek/errmsg.txt
sql/share/greek/errmsg.txt
+1
-1
sql/share/hungarian/errmsg.txt
sql/share/hungarian/errmsg.txt
+1
-1
sql/share/italian/errmsg.txt
sql/share/italian/errmsg.txt
+1
-1
sql/share/japanese/errmsg.txt
sql/share/japanese/errmsg.txt
+1
-1
sql/share/korean/errmsg.txt
sql/share/korean/errmsg.txt
+1
-1
sql/share/norwegian-ny/errmsg.txt
sql/share/norwegian-ny/errmsg.txt
+1
-1
sql/share/norwegian/errmsg.txt
sql/share/norwegian/errmsg.txt
+1
-1
sql/share/polish/errmsg.txt
sql/share/polish/errmsg.txt
+1
-1
sql/share/portuguese/errmsg.txt
sql/share/portuguese/errmsg.txt
+1
-1
sql/share/romanian/errmsg.txt
sql/share/romanian/errmsg.txt
+1
-1
sql/share/russian/errmsg.txt
sql/share/russian/errmsg.txt
+1
-1
sql/share/slovak/errmsg.txt
sql/share/slovak/errmsg.txt
+1
-1
sql/share/spanish/errmsg.txt
sql/share/spanish/errmsg.txt
+1
-1
sql/share/swedish/errmsg.txt
sql/share/swedish/errmsg.txt
+1
-1
sql/share/ukrainian/errmsg.txt
sql/share/ukrainian/errmsg.txt
+1
-1
No files found.
mysql-test/r/variables.result
View file @
09113817
...
...
@@ -234,17 +234,17 @@ ERROR 42000: Unknown character set: 'UNKNOWN_CHARACTER_SET'
set collation_connection=UNKNOWN_COLLATION;
ERROR HY000: Unknown collation: 'UNKNOWN_COLLATION'
set global autocommit=1;
ERROR HY000: Variable 'autocommit' is a
LOCAL
variable and can't be used with SET GLOBAL
ERROR HY000: Variable 'autocommit' is a
SESSION
variable and can't be used with SET GLOBAL
select @@global.timestamp;
ERROR HY000: Variable 'timestamp' is a
LOCAL
variable
ERROR HY000: Variable 'timestamp' is a
SESSION
variable
set @@version='';
ERROR HY000: Unknown system variable 'version'
set @@concurrent_insert=1;
ERROR HY000: Variable 'concurrent_insert' is a GLOBAL variable and should be set with SET GLOBAL
set @@global.sql_auto_is_null=1;
ERROR HY000: Variable 'sql_auto_is_null' is a
LOCAL
variable and can't be used with SET GLOBAL
ERROR HY000: Variable 'sql_auto_is_null' is a
SESSION
variable and can't be used with SET GLOBAL
select @@global.sql_auto_is_null;
ERROR HY000: Variable 'sql_auto_is_null' is a
LOCAL
variable
ERROR HY000: Variable 'sql_auto_is_null' is a
SESSION
variable
set myisam_max_sort_file_size=100;
ERROR HY000: Variable 'myisam_max_sort_file_size' is a GLOBAL variable and should be set with SET GLOBAL
set myisam_max_extra_sort_file_size=100;
...
...
sql/set_var.cc
View file @
09113817
...
...
@@ -1401,7 +1401,7 @@ Item *sys_var::item(THD *thd, enum_var_type var_type, LEX_STRING *base)
if
(
var_type
!=
OPT_DEFAULT
)
{
net_printf
(
thd
,
ER_INCORRECT_GLOBAL_LOCAL_VAR
,
name
,
var_type
==
OPT_GLOBAL
?
"
LOCAL
"
:
"GLOBAL"
);
name
,
var_type
==
OPT_GLOBAL
?
"
SESSION
"
:
"GLOBAL"
);
return
0
;
}
/* As there was no local variable, return the global value */
...
...
sql/share/czech/errmsg.txt
View file @
09113817
...
...
@@ -240,7 +240,7 @@ character-set=latin2
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/danish/errmsg.txt
View file @
09113817
...
...
@@ -234,7 +234,7 @@ character-set=latin1
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/dutch/errmsg.txt
View file @
09113817
...
...
@@ -242,7 +242,7 @@ character-set=latin1
"Optie '%s' tweemaal gebruikt in opdracht",
"Gebruiker '%-.64s' heeft het maximale gebruik van de '%s' faciliteit overschreden (huidige waarde: %ld)",
"Toegang geweigerd. U moet het %-.128s privilege hebben voor deze operatie",
"Variabele '%-.64s' is
LOCAL
en kan niet worden gebruikt met SET GLOBAL",
"Variabele '%-.64s' is
SESSION
en kan niet worden gebruikt met SET GLOBAL",
"Variabele '%-.64s' is GLOBAL en dient te worden gewijzigd met SET GLOBAL",
"Variabele '%-.64s' heeft geen standaard waarde",
"Variabele '%-.64s' kan niet worden gewijzigd naar de waarde '%-.64s'",
...
...
sql/share/english/errmsg.txt
View file @
09113817
...
...
@@ -231,7 +231,7 @@ character-set=latin1
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/estonian/errmsg.txt
View file @
09113817
...
...
@@ -236,7 +236,7 @@ character-set=latin7
"Mrangut '%s' on lauses kasutatud topelt",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/french/errmsg.txt
View file @
09113817
...
...
@@ -231,7 +231,7 @@ character-set=latin1
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/greek/errmsg.txt
View file @
09113817
...
...
@@ -231,7 +231,7 @@ character-set=greek
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/hungarian/errmsg.txt
View file @
09113817
...
...
@@ -233,7 +233,7 @@ character-set=latin2
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/italian/errmsg.txt
View file @
09113817
...
...
@@ -231,7 +231,7 @@ character-set=latin1
"L'opzione '%s' e' stata usata due volte nel comando",
"L'utente '%-.64s' ha ecceduto la risorsa '%s' (valore corrente: %ld)",
"Accesso non consentito. Serve il privilegio %-.128s per questa operazione",
"La variabile '%-.64s' e' una variabile locale (
LOCAL
) e non puo' essere cambiata usando SET GLOBAL",
"La variabile '%-.64s' e' una variabile locale (
SESSION
) e non puo' essere cambiata usando SET GLOBAL",
"La variabile '%-.64s' e' una variabile globale ( GLOBAL ) e deve essere cambiata usando SET GLOBAL",
"La variabile '%-.64s' non ha un valore di default",
"Alla variabile '%-.64s' non puo' essere assegato il valore '%-.64s'",
...
...
sql/share/japanese/errmsg.txt
View file @
09113817
...
...
@@ -233,7 +233,7 @@ character-set=ujis
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/korean/errmsg.txt
View file @
09113817
...
...
@@ -231,7 +231,7 @@ character-set=euckr
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/norwegian-ny/errmsg.txt
View file @
09113817
...
...
@@ -233,7 +233,7 @@ character-set=latin1
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/norwegian/errmsg.txt
View file @
09113817
...
...
@@ -233,7 +233,7 @@ character-set=latin1
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/polish/errmsg.txt
View file @
09113817
...
...
@@ -235,7 +235,7 @@ character-set=latin2
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/portuguese/errmsg.txt
View file @
09113817
...
...
@@ -232,7 +232,7 @@ character-set=latin1
"Opção '%s' usada duas vezes no comando",
"Usuário '%-.64s' tem excedido o '%s' recurso (atual valor: %ld)",
"Acesso negado. Você precisa o privilégio %-.128s para essa operação",
"Variável '%-.64s' é uma
LOCAL
variável e não pode ser usada com SET GLOBAL",
"Variável '%-.64s' é uma
SESSION
variável e não pode ser usada com SET GLOBAL",
"Variável '%-.64s' é uma GLOBAL variável e deve ser configurada com SET GLOBAL",
"Variável '%-.64s' não tem um valor padrão",
"Variável '%-.64s' não pode ser configurada para o valor de '%-.64s'",
...
...
sql/share/romanian/errmsg.txt
View file @
09113817
...
...
@@ -235,7 +235,7 @@ character-set=latin2
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/russian/errmsg.txt
View file @
09113817
...
...
@@ -233,7 +233,7 @@ character-set=koi8r
" '%s' ",
" '%-.64s' '%s' ( : %ld)",
" . %-.128s ",
" '%-.64s' (
LOCAL
) SET GLOBAL",
" '%-.64s' (
SESSION
) SET GLOBAL",
" '%-.64s' (GLOBAL) , SET GLOBAL",
" '%-.64s' ",
" '%-.64s' '%-.64s'",
...
...
sql/share/slovak/errmsg.txt
View file @
09113817
...
...
@@ -239,7 +239,7 @@ character-set=latin2
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
sql/share/spanish/errmsg.txt
View file @
09113817
...
...
@@ -233,7 +233,7 @@ character-set=latin1
"Opción '%s' usada dos veces en el comando",
"Usuario '%-.64s' ha excedido el recurso '%s' (actual valor: %ld)",
"Acceso negado. Usted necesita el privilegio %-.128s para esta operación",
"Variable '%-.64s' es una
LOCAL
variable y no puede ser usada con SET GLOBAL",
"Variable '%-.64s' es una
SESSION
variable y no puede ser usada con SET GLOBAL",
"Variable '%-.64s' es una GLOBAL variable y no puede ser configurada con SET GLOBAL",
"Variable '%-.64s' no tiene un valor patrón",
"Variable '%-.64s' no puede ser configurada para el valor de '%-.64s'",
...
...
sql/share/swedish/errmsg.txt
View file @
09113817
...
...
@@ -231,7 +231,7 @@ character-set=latin1
"Option '%s' användes två gånger",
"Användare '%-.64s' har överskridit '%s' (nuvarande värde: %ld)",
"Du har inte privlegiet '%-.128s' som behövs för denna operation",
"Variabel '%-.64s' är en
LOCAL
variabel och kan inte ändrad med SET GLOBAL",
"Variabel '%-.64s' är en
SESSION
variabel och kan inte ändrad med SET GLOBAL",
"Variabel '%-.64s' är en GLOBAL variabel och bör sättas med SET GLOBAL",
"Variabel '%-.64s' har inte ett DEFAULT-värde",
"Variabel '%-.64s' kan inte sättas till '%-.64s'",
...
...
sql/share/ukrainian/errmsg.txt
View file @
09113817
...
...
@@ -236,7 +236,7 @@ character-set=koi8u
"Option '%s' used twice in statement",
"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",
"Access denied. You need the %-.128s privilege for this operation",
"Variable '%-.64s' is a
LOCAL
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a
SESSION
variable and can't be used with SET GLOBAL",
"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",
"Variable '%-.64s' doesn't have a default value",
"Variable '%-.64s' can't be set to the value of '%-.64s'",
...
...
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