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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
64615381
Commit
64615381
authored
Aug 24, 2004
by
tomas@poseidon.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes
parent
c16f134b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
2 deletions
+41
-2
mysql-test/r/ndb_blob.result
mysql-test/r/ndb_blob.result
+35
-0
ndb/src/ndbapi/Ndb.cpp
ndb/src/ndbapi/Ndb.cpp
+6
-2
No files found.
mysql-test/r/ndb_blob.result
View file @
64615381
...
@@ -270,6 +270,41 @@ a b c d a b c
...
@@ -270,6 +270,41 @@ a b c d a b c
2 2xb2 222 2xdd2 2 2 2
2 2xb2 222 2xdd2 2 2 2
drop table t2;
drop table t2;
use test;
use test;
select * from t1 order by a;
a b c d
1 1xb1 111 1xdd1
2 2xb2 222 2xdd2
3 3xb3 333 3xdd3
4 4xb4 444 4xdd4
5 5xb5 555 5xdd5
6 6xb6 666 6xdd6
7 7xb7 777 7xdd7
8 8xb8 888 8xdd8
9 9xb9 999 9xdd9
alter table t1 add x int;
select * from t1 order by a;
a b c d x
1 1xb1 111 1xdd1 NULL
2 2xb2 222 2xdd2 NULL
3 3xb3 333 3xdd3 NULL
4 4xb4 444 4xdd4 NULL
5 5xb5 555 5xdd5 NULL
6 6xb6 666 6xdd6 NULL
7 7xb7 777 7xdd7 NULL
8 8xb8 888 8xdd8 NULL
9 9xb9 999 9xdd9 NULL
alter table t1 drop x;
select * from t1 order by a;
a b c d
1 1xb1 111 1xdd1
2 2xb2 222 2xdd2
3 3xb3 333 3xdd3
4 4xb4 444 4xdd4
5 5xb5 555 5xdd5
6 6xb6 666 6xdd6
7 7xb7 777 7xdd7
8 8xb8 888 8xdd8
9 9xb9 999 9xdd9
delete from t1 where c >= 100;
delete from t1 where c >= 100;
commit;
commit;
select count(*) from t1;
select count(*) from t1;
...
...
ndb/src/ndbapi/Ndb.cpp
View file @
64615381
...
@@ -407,11 +407,14 @@ Ndb::startTransactionLocal(Uint32 aPriority, Uint32 nodeId)
...
@@ -407,11 +407,14 @@ Ndb::startTransactionLocal(Uint32 aPriority, Uint32 nodeId)
}
}
#endif
#endif
DBUG_ENTER
(
"Ndb::startTransactionLocal"
);
DBUG_PRINT
(
"enter"
,
(
"nodeid: %d"
,
nodeId
));
NdbConnection
*
tConnection
;
NdbConnection
*
tConnection
;
Uint64
tFirstTransId
=
theFirstTransId
;
Uint64
tFirstTransId
=
theFirstTransId
;
tConnection
=
doConnect
(
nodeId
);
tConnection
=
doConnect
(
nodeId
);
if
(
tConnection
==
NULL
)
{
if
(
tConnection
==
NULL
)
{
return
NULL
;
DBUG_RETURN
(
NULL
)
;
}
//if
}
//if
NdbConnection
*
tConNext
=
theTransactionList
;
NdbConnection
*
tConNext
=
theTransactionList
;
tConnection
->
init
();
tConnection
->
init
();
...
@@ -434,7 +437,8 @@ Ndb::startTransactionLocal(Uint32 aPriority, Uint32 nodeId)
...
@@ -434,7 +437,8 @@ Ndb::startTransactionLocal(Uint32 aPriority, Uint32 nodeId)
abort
();
abort
();
}
}
#endif
#endif
return
tConnection
;
DBUG_PRINT
(
"exit"
,
(
"transaction id: %d"
,
tConnection
->
getTransactionId
()));
DBUG_RETURN
(
tConnection
);
}
//Ndb::startTransactionLocal()
}
//Ndb::startTransactionLocal()
/*****************************************************************************
/*****************************************************************************
...
...
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