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
7b892368
Commit
7b892368
authored
Feb 03, 2006
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bugfix: tinyblob + replace => mysqld crash (no bug#)
parent
66b6c988
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
mysql-test/r/ndb_blob.result
mysql-test/r/ndb_blob.result
+7
-0
mysql-test/t/ndb_blob.test
mysql-test/t/ndb_blob.test
+5
-1
ndb/src/ndbapi/NdbBlob.cpp
ndb/src/ndbapi/NdbBlob.cpp
+2
-0
No files found.
mysql-test/r/ndb_blob.result
View file @
7b892368
...
@@ -428,6 +428,13 @@ delete from t1;
...
@@ -428,6 +428,13 @@ delete from t1;
select * from t1;
select * from t1;
a b
a b
commit;
commit;
replace t1 set a=2, b='y';
select * from t1;
a b
2 y
delete from t1;
select * from t1;
a b
drop table t1;
drop table t1;
set autocommit=0;
set autocommit=0;
create table t1 (
create table t1 (
...
...
mysql-test/t/ndb_blob.test
View file @
7b892368
...
@@ -338,7 +338,7 @@ select * from t1 order by a;
...
@@ -338,7 +338,7 @@ select * from t1 order by a;
drop
table
t1
;
drop
table
t1
;
drop
database
test2
;
drop
database
test2
;
# -- bug-5252 tinytext crashes
plus no-commit result
--
# -- bug-5252 tinytext crashes
+ no-commit result + replace
--
set
autocommit
=
0
;
set
autocommit
=
0
;
create
table
t1
(
create
table
t1
(
...
@@ -352,6 +352,10 @@ select * from t1;
...
@@ -352,6 +352,10 @@ select * from t1;
delete
from
t1
;
delete
from
t1
;
select
*
from
t1
;
select
*
from
t1
;
commit
;
commit
;
replace
t1
set
a
=
2
,
b
=
'y'
;
select
*
from
t1
;
delete
from
t1
;
select
*
from
t1
;
drop
table
t1
;
drop
table
t1
;
# -- bug-5013 insert empty string to text --
# -- bug-5013 insert empty string to text --
...
...
ndb/src/ndbapi/NdbBlob.cpp
View file @
7b892368
...
@@ -947,6 +947,8 @@ NdbBlob::deletePartsUnknown(Uint32 part)
...
@@ -947,6 +947,8 @@ NdbBlob::deletePartsUnknown(Uint32 part)
{
{
DBUG_ENTER
(
"NdbBlob::deletePartsUnknown"
);
DBUG_ENTER
(
"NdbBlob::deletePartsUnknown"
);
DBUG_PRINT
(
"info"
,
(
"part=%u count=all"
,
part
));
DBUG_PRINT
(
"info"
,
(
"part=%u count=all"
,
part
));
if
(
thePartSize
==
0
)
// tinyblob
DBUG_RETURN
(
0
);
static
const
unsigned
maxbat
=
256
;
static
const
unsigned
maxbat
=
256
;
static
const
unsigned
minbat
=
1
;
static
const
unsigned
minbat
=
1
;
unsigned
bat
=
minbat
;
unsigned
bat
=
minbat
;
...
...
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