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
580bd979
Commit
580bd979
authored
Jan 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0
parents
a1b6bd5a
4c0a0c3e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
15 deletions
+14
-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
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 @
580bd979
...
...
@@ -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 @
580bd979
...
...
@@ -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 @
580bd979
...
...
@@ -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 @
580bd979
...
...
@@ -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 @
580bd979
...
...
@@ -449,7 +449,6 @@ drop table t1;
use
test2
;
drop
table
t2
;
drop
database
test2
;
show
databases
;
use
test
;
#########################################################
...
...
sql/ha_federated.cc
View file @
580bd979
...
...
@@ -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 @
580bd979
...
...
@@ -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