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
3cfdd984
Commit
3cfdd984
authored
May 19, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
ce1353a4
b716c181
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
11 deletions
+51
-11
Docs/manual.texi
Docs/manual.texi
+2
-0
mysql-test/r/func_concat.result
mysql-test/r/func_concat.result
+13
-0
mysql-test/t/func_concat.test
mysql-test/t/func_concat.test
+24
-0
mysys/my_pthread.c
mysys/my_pthread.c
+1
-0
sql/item_strfunc.cc
sql/item_strfunc.cc
+1
-1
sql/share/italian/errmsg.txt
sql/share/italian/errmsg.txt
+10
-10
No files found.
Docs/manual.texi
View file @
3cfdd984
...
@@ -49850,6 +49850,8 @@ not yet 100% confident in this code.
...
@@ -49850,6 +49850,8 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.51
@appendixsubsec Changes in release 3.23.51
@itemize @bullet
@itemize @bullet
@item
@item
Fixed bug in @code{CONCAT_WS()} that cut the result.
@item
Changed name of variables @code{Com_show_master_stat} to
Changed name of variables @code{Com_show_master_stat} to
@code{Com_show_master_status} and @code{Com_show_slave_stat} to
@code{Com_show_master_status} and @code{Com_show_slave_stat} to
@code{Com_show_slave_status}.
@code{Com_show_slave_status}.
mysql-test/r/func_concat.result
0 → 100644
View file @
3cfdd984
number alpha new
1413006 idlfmv 1413006<---->idlfmv
1413065 smpsfz 1413065<---->smpsfz
1413127 sljrhx 1413127<---->sljrhx
1413304 qerfnd 1413304<---->qerfnd
new
1413006<---->idlfmv
number alpha new
1413006 idlfmv 1413006<->idlfmv
number alpha new
1413006 idlfmv 1413006-idlfmv-idlfmv-idlfmv-idlfmv-idlfmv-idlfmv-idlfmv
number alpha new
1413006 idlfmv 1413006<------------------>idlfmv
mysql-test/t/func_concat.test
0 → 100644
View file @
3cfdd984
#
# Test of problem with CONCAT_WS() and long separators.
#
DROP
TABLE
IF
EXISTS
t1
;
CREATE
TABLE
t1
(
number
INT
NOT
NULL
,
alpha
CHAR
(
6
)
NOT
NULL
);
INSERT
INTO
t1
VALUES
(
1413006
,
'idlfmv'
),
(
1413065
,
'smpsfz'
),(
1413127
,
'sljrhx'
),(
1413304
,
'qerfnd'
);
SELECT
number
,
alpha
,
CONCAT_WS
(
'<---->'
,
number
,
alpha
)
AS
new
FROM
t1
GROUP
BY
number
;
SELECT
CONCAT_WS
(
'<---->'
,
number
,
alpha
)
AS
new
FROM
t1
GROUP
BY
new
LIMIT
1
;
SELECT
number
,
alpha
,
CONCAT_WS
(
'<->'
,
number
,
alpha
)
AS
new
FROM
t1
GROUP
BY
new
LIMIT
1
;
SELECT
number
,
alpha
,
CONCAT_WS
(
'-'
,
number
,
alpha
,
alpha
,
alpha
,
alpha
,
alpha
,
alpha
,
alpha
)
AS
new
FROM
t1
GROUP
BY
new
LIMIT
1
;
SELECT
number
,
alpha
,
CONCAT_WS
(
'<------------------>'
,
number
,
alpha
)
AS
new
FROM
t1
GROUP
BY
new
LIMIT
1
;
drop
table
t1
;
mysys/my_pthread.c
View file @
3cfdd984
...
@@ -432,6 +432,7 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
...
@@ -432,6 +432,7 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
}
}
#endif
#endif
#ifdef HPUX
#ifdef HPUX
int
my_pthread_mutex_trylock
(
pthread_mutex_t
*
mutex
)
int
my_pthread_mutex_trylock
(
pthread_mutex_t
*
mutex
)
{
{
...
...
sql/item_strfunc.cc
View file @
3cfdd984
...
@@ -475,7 +475,7 @@ null:
...
@@ -475,7 +475,7 @@ null:
void
Item_func_concat_ws
::
fix_length_and_dec
()
void
Item_func_concat_ws
::
fix_length_and_dec
()
{
{
max_length
=
0
;
max_length
=
separator
->
max_length
*
(
arg_count
-
1
)
;
for
(
uint
i
=
0
;
i
<
arg_count
;
i
++
)
for
(
uint
i
=
0
;
i
<
arg_count
;
i
++
)
max_length
+=
args
[
i
]
->
max_length
;
max_length
+=
args
[
i
]
->
max_length
;
if
(
max_length
>
MAX_BLOB_WIDTH
)
if
(
max_length
>
MAX_BLOB_WIDTH
)
...
...
sql/share/italian/errmsg.txt
View file @
3cfdd984
...
@@ -209,16 +209,16 @@
...
@@ -209,16 +209,16 @@
"E' scaduto il timeout per l'attesa del lock",
"E' scaduto il timeout per l'attesa del lock",
"Il numero totale di lock e' maggiore della grandezza della tabella di lock",
"Il numero totale di lock e' maggiore della grandezza della tabella di lock",
"I lock di aggiornamento non possono essere acquisiti durante una transazione 'READ UNCOMMITTED'",
"I lock di aggiornamento non possono essere acquisiti durante una transazione 'READ UNCOMMITTED'",
"DROP DATABASE no
t allowed while thread is holding global read lock
",
"DROP DATABASE no
n e' permesso mentre il thread ha un lock globale di lettura
",
"CREATE DATABASE no
t allowed while thread is holding global read lock
",
"CREATE DATABASE no
n e' permesso mentre il thread ha un lock globale di lettura
",
"
Wrong arguments to
%s",
"
Argomenti errati a
%s",
"
%-.32s@%-.64s is not allowed to create new users
",
"
A %-.32s@%-.64s non e' permesso creare nuovi utenti
",
"
Incorrect table definition; All MERGE tables must be in the same
database",
"
Definizione della tabella errata; tutte le tabelle di tipo MERGE devono essere nello stesso
database",
"
Deadlock found when trying to get lock; Try restarting transaction
",
"
Trovato deadlock durante il lock; Provare a far ripartire la transazione
",
"
The used table type doesn't support FULLTEXT indexes
",
"
La tabella usata non supporta gli indici FULLTEXT
",
"
Cannot add foreign key constraint
",
"
Impossibile aggiungere il vincolo di integrita' referenziale (foreign key constraint)
",
"
Cannot add a child row: a foreign key constraint fails
",
"
Impossibile aggiungere la riga: un vincolo d'integrita' referenziale non e' soddisfatto
",
"
Cannot delete a parent row: a foreign key constraint fails
",
"
Impossibile cancellare la riga: un vincolo d'integrita' referenziale non e' soddisfatto
",
"Error connecting to master: %-.128s",
"Error connecting to master: %-.128s",
"Error running query on master: %-.128s",
"Error running query on master: %-.128s",
"Error when executing command %s: %-.128s",
"Error when executing command %s: %-.128s",
...
...
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