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
31f2ddfa
Commit
31f2ddfa
authored
Jan 21, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0-ndb
parents
6ac2e2af
b3a66285
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
15 deletions
+18
-15
config/ac-macros/ha_ndbcluster.m4
config/ac-macros/ha_ndbcluster.m4
+2
-2
configure.in
configure.in
+1
-0
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+6
-4
mysql-test/r/ndb_autodiscover.result
mysql-test/r/ndb_autodiscover.result
+0
-5
mysql-test/t/ndb_autodiscover.test
mysql-test/t/ndb_autodiscover.test
+0
-1
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
+4
-0
sql/ha_federated.cc
sql/ha_federated.cc
+3
-2
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+2
-1
No files found.
config/ac-macros/ha_ndbcluster.m4
View file @
31f2ddfa
...
...
@@ -64,8 +64,8 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
AC_ARG_WITH([ndb-ccflags],
[
--with-ndb-ccflags Extra CC options for ndb compile],
[ndb_cxxflags_fix=
$withval
],
[ndb_cxxflags_fix=])
[ndb_cxxflags_fix=
"$ndb_cxxflags_fix $withval"
],
[ndb_cxxflags_fix=
$ndb_cxxflags_fix
])
AC_MSG_CHECKING([for NDB Cluster options])
AC_MSG_RESULT([])
...
...
configure.in
View file @
31f2ddfa
...
...
@@ -962,6 +962,7 @@ esac
MAX_C_OPTIMIZE
=
"-O3"
MAX_CXX_OPTIMIZE
=
"-O3"
ndb_cxxflags_fix
=
case
$SYSTEM_TYPE
-
$MACHINE_TYPE
-
$ac_cv_prog_gcc
in
# workaround for Sun Forte/x86 see BUG#4681
*
solaris
*
-i
?86-no
)
...
...
mysql-test/mysql-test-run.sh
View file @
31f2ddfa
...
...
@@ -1547,6 +1547,12 @@ run_testcase ()
fi
fi
fi
if
[
"x
$START_AND_EXIT
"
=
"x1"
]
;
then
echo
"Servers started, exiting"
exit
fi
cd
$MYSQL_TEST_DIR
if
[
-f
$tf
]
;
then
...
...
@@ -1682,10 +1688,6 @@ then
mysql_loadstd
fi
if
[
"x
$START_AND_EXIT
"
=
"x1"
]
;
then
echo
"Servers started, exiting"
exit
fi
$ECHO
"Starting Tests"
...
...
mysql-test/r/ndb_autodiscover.result
View file @
31f2ddfa
...
...
@@ -353,11 +353,6 @@ drop table t1;
use test2;
drop table t2;
drop database test2;
show databases;
Database
information_schema
mysql
test
use test;
drop database if exists test_only_ndb_tables;
create database test_only_ndb_tables;
...
...
mysql-test/t/ndb_autodiscover.test
View file @
31f2ddfa
...
...
@@ -449,7 +449,6 @@ drop table t1;
use
test2
;
drop
table
t2
;
drop
database
test2
;
show
databases
;
use
test
;
#########################################################
...
...
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
View file @
31f2ddfa
...
...
@@ -2976,6 +2976,8 @@ void Dbdih::execCOPY_FRAGREF(Signal* signal)
SystemError
*
const
sysErr
=
(
SystemError
*
)
&
signal
->
theData
[
0
];
sysErr
->
errorCode
=
SystemError
::
CopyFragRefError
;
sysErr
->
errorRef
=
reference
();
sysErr
->
data1
=
errorCode
;
sysErr
->
data2
=
0
;
sendSignal
(
cntrRef
,
GSN_SYSTEM_ERROR
,
signal
,
SystemError
::
SignalLength
,
JBB
);
return
;
...
...
@@ -4492,6 +4494,8 @@ void Dbdih::handleTakeOverNewMaster(Signal* signal, Uint32 takeOverPtrI)
SystemError
*
const
sysErr
=
(
SystemError
*
)
&
signal
->
theData
[
0
];
sysErr
->
errorCode
=
SystemError
::
CopyFragRefError
;
sysErr
->
errorRef
=
reference
();
sysErr
->
data1
=
0
;
sysErr
->
data2
=
__LINE__
;
sendSignal
(
cntrRef
,
GSN_SYSTEM_ERROR
,
signal
,
SystemError
::
SignalLength
,
JBB
);
}
...
...
sql/ha_federated.cc
View file @
31f2ddfa
...
...
@@ -973,6 +973,7 @@ inline uint field_in_record_is_null (
int
ha_federated
::
write_row
(
byte
*
buf
)
{
int
x
=
0
,
num_fields
=
0
;
Field
**
field
;
ulong
current_query_id
=
1
;
ulong
tmp_query_id
;
int
all_fields_have_same_query_id
=
1
;
...
...
@@ -1021,7 +1022,7 @@ int ha_federated::write_row(byte * buf)
0 if it remains 0, then that means no fields were specified in the query
such as in the case of INSERT INTO table VALUES (val1, val2, valN)
*/
for
(
Field
**
field
=
table
->
field
;
*
field
;
field
++
,
x
++
)
for
(
field
=
table
->
field
;
*
field
;
field
++
,
x
++
)
{
if
(
x
>
0
&&
tmp_query_id
!=
(
*
field
)
->
query_id
)
all_fields_have_same_query_id
=
0
;
...
...
@@ -1032,7 +1033,7 @@ int ha_federated::write_row(byte * buf)
loop through the field pointer array, add any fields to both the values
list and the fields list that match the current query id
*/
for
(
Field
**
field
=
table
->
field
;
*
field
;
field
++
,
x
++
)
for
(
field
=
table
->
field
;
*
field
;
field
++
,
x
++
)
{
DBUG_PRINT
(
"ha_federated::write_row"
,
(
"field type %d"
,
(
*
field
)
->
type
()));
// if there is a query id and if it's equal to the current query id
...
...
sql/ha_ndbcluster.cc
View file @
31f2ddfa
...
...
@@ -4901,7 +4901,8 @@ ndb_get_table_statistics(Ndb* ndb, const char * table,
if
(
check
==
-
1
)
break
;
Uint64
rows
,
commits
,
size
,
mem
;
Uint64
rows
,
commits
,
mem
;
Uint32
size
;
pOp
->
getValue
(
NdbDictionary
::
Column
::
ROW_COUNT
,
(
char
*
)
&
rows
);
pOp
->
getValue
(
NdbDictionary
::
Column
::
COMMIT_COUNT
,
(
char
*
)
&
commits
);
pOp
->
getValue
(
NdbDictionary
::
Column
::
ROW_SIZE
,
(
char
*
)
&
size
);
...
...
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