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
d91d6d5e
Commit
d91d6d5e
authored
Apr 19, 2003
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Three bug fixes and one fix being undone.
parent
0fc5b734
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
mysql-test/r/innodb_handler.result
mysql-test/r/innodb_handler.result
+1
-0
sql/sql_db.cc
sql/sql_db.cc
+7
-0
sql/sql_update.cc
sql/sql_update.cc
+0
-5
strings/ctype-tis620.c
strings/ctype-tis620.c
+3
-2
No files found.
mysql-test/r/innodb_handler.result
View file @
d91d6d5e
...
...
@@ -147,4 +147,5 @@ HANDLER t1 READ `primary` = (1, 1000);
no1 no2
HANDLER t1 READ `primary` PREV;
no1 no2
1 275
DROP TABLE t1;
sql/sql_db.cc
View file @
d91d6d5e
...
...
@@ -351,6 +351,13 @@ bool mysql_change_db(THD *thd,const char *name)
x_free
(
dbname
);
DBUG_RETURN
(
1
);
}
if
(
dbname
[
0
]
==
'`'
&&
dbname
[
db_length
-
1
]
==
'`'
)
{
int
counter
=
1
;
for
(;
counter
<
db_length
-
1
;
counter
++
)
dbname
[
counter
-
1
]
=
dbname
[
counter
];
dbname
[(
db_length
=
counter
)
-
1
]
=
'\0'
;
}
DBUG_PRINT
(
"info"
,(
"Use database: %s"
,
dbname
));
if
(
test_all_bits
(
thd
->
master_access
,
DB_ACLS
))
db_access
=
DB_ACLS
;
...
...
sql/sql_update.cc
View file @
d91d6d5e
...
...
@@ -478,11 +478,6 @@ int multi_update::prepare(List<Item> ¬_used_values)
table
->
used_keys
=
0
;
table
->
pos_in_table_list
=
tl
;
}
else
{
table_ref
->
lock_type
=
TL_READ
;
mysql_unlock_some_tables
(
thd
,
&
table
,
1
);
}
}
...
...
strings/ctype-tis620.c
View file @
d91d6d5e
...
...
@@ -491,7 +491,7 @@ static uchar* thai2sortable(const uchar * tstr,uint len)
return((uchar*) tstr);
}
pLeft4 = pRight4;*/
while
(
len
--
)
{
while
(
(
len
--
)
)
{
if
(
isldvowel
(
*
p
)
&&
isconsnt
(
p
[
1
]))
{
*
pRight1
++
=
t_ctype
[
p
[
1
]][
0
];
*
pRight2
++
=
t_ctype
[
p
[
1
]][
1
];
...
...
@@ -501,7 +501,8 @@ static uchar* thai2sortable(const uchar * tstr,uint len)
*
pRight2
++
=
t_ctype
[
*
p
][
1
];
*
pRight3
++
=
t_ctype
[
*
p
][
2
];
/* *pRight4++ = t_ctype[*p][3]; */
len
--
;
if
(
!
(
len
--
))
break
;
p
+=
2
;
}
else
{
*
pRight1
=
t_ctype
[
*
p
][
0
];
...
...
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