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
467dc1ba
Commit
467dc1ba
authored
Jan 19, 2005
by
tulin@build.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0
into build.mysql.com:/users/tulin/wl2299
parents
f4feae2a
26d8fc49
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
6 deletions
+39
-6
config/ac-macros/ha_ndbcluster.m4
config/ac-macros/ha_ndbcluster.m4
+6
-1
configure.in
configure.in
+0
-1
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+8
-1
mysql-test/ndb/ndbcluster.sh
mysql-test/ndb/ndbcluster.sh
+11
-2
mysql-test/r/view.result
mysql-test/r/view.result
+6
-0
mysql-test/t/view.test
mysql-test/t/view.test
+7
-0
sql/sql_base.cc
sql/sql_base.cc
+1
-1
No files found.
config/ac-macros/ha_ndbcluster.m4
View file @
467dc1ba
...
...
@@ -61,7 +61,12 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
--without-ndb-debug Disable special ndb debug features],
[ndb_debug="$withval"],
[ndb_debug="default"])
AC_ARG_WITH([ndb-ccflags],
[
--with-ndb-ccflags Extra CC options for ndb compile],
[ndb_cxxflags_fix=$withval],
[ndb_cxxflags_fix=])
AC_MSG_CHECKING([for NDB Cluster options])
AC_MSG_RESULT([])
...
...
configure.in
View file @
467dc1ba
...
...
@@ -361,7 +361,6 @@ AC_SUBST(INSTALL_SCRIPT)
export
CC CXX CFLAGS LD LDFLAGS AR
ndb_cxxflags_fix
=
if
test
"
$GXX
"
=
"yes"
then
# mysqld requires -fno-implicit-templates.
...
...
mysql-test/mysql-test-run.sh
View file @
467dc1ba
...
...
@@ -241,6 +241,9 @@ USE_EMBEDDED_SERVER=""
RESULT_EXT
=
""
TEST_MODE
=
"default"
NDB_MGMD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
while
test
$#
-gt
0
;
do
case
"
$1
"
in
--embedded-server
)
USE_EMBEDDED_SERVER
=
1
USE_MANAGER
=
0
NO_SLAVE
=
1
;
\
...
...
@@ -261,6 +264,10 @@ while test $# -gt 0; do
--ndb-connectstring
=
*
)
USE_NDBCLUSTER
=
"--ndbcluster"
;
USE_RUNNING_NDBCLUSTER
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndb-connectstring=;;"
`
;;
--ndb_mgmd-extra-opts
=
*
)
NDB_MGMD_EXTRA_OPTS
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndb_mgmd-extra-opts=;;"
`
;;
--ndbd-extra-opts
=
*
)
NDBD_EXTRA_OPTS
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--ndbd-extra-opts=;;"
`
;;
--tmpdir
=
*
)
MYSQL_TMP_DIR
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--tmpdir=;;"
`
;;
--local-master
)
MASTER_MYPORT
=
3306
;
...
...
@@ -463,7 +470,7 @@ SMALL_SERVER="--key_buffer_size=1M --sort_buffer=256K --max_heap_table_size=1M"
export
MASTER_MYPORT MASTER_MYPORT1 SLAVE_MYPORT MYSQL_TCP_PORT MASTER_MYSOCK MASTER_MYSOCK1
NDBCLUSTER_BASE_PORT
=
`
expr
$NDBCLUSTER_PORT
+ 2
`
NDBCLUSTER_OPTS
=
"--port=
$NDBCLUSTER_PORT
--port-base=
$NDBCLUSTER_BASE_PORT
--data-dir=
$MYSQL_TEST_DIR
/var"
NDBCLUSTER_OPTS
=
"--port=
$NDBCLUSTER_PORT
--port-base=
$NDBCLUSTER_BASE_PORT
--data-dir=
$MYSQL_TEST_DIR
/var
--ndb_mgmd-extra-opts=
\"
$NDB_MGMD_EXTRA_OPTS
\"
--ndbd-extra-opts=
\"
$NDBD_EXTRA_OPTS
\"
"
if
[
x
$SOURCE_DIST
=
x1
]
;
then
MY_BASEDIR
=
$MYSQL_TEST_DIR
...
...
mysql-test/ndb/ndbcluster.sh
View file @
467dc1ba
...
...
@@ -58,6 +58,9 @@ ndb_con_op=105000
ndb_dmem
=
80M
ndb_imem
=
24M
NDB_MGMD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
while
test
$#
-gt
0
;
do
case
"
$1
"
in
--test
)
...
...
@@ -94,6 +97,12 @@ while test $# -gt 0; do
--port-base
=
*
)
port_base
=
`
echo
"
$1
"
|
sed
-e
"s;--port-base=;;"
`
;;
--ndb_mgmd-extra-opts
=
*
)
NDB_MGMD_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndb_mgmd-extra-opts=;;"
`
;;
--ndbd-extra-opts
=
*
)
NDBD_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndbd-extra-opts=;;"
`
;;
--
)
shift
;
break
;;
--
*
)
$ECHO
"Unrecognized option:
$1
"
;
exit
1
;;
*
)
break
;;
...
...
@@ -122,8 +131,8 @@ if [ ! -x "$exec_waiter" ]; then
fi
exec_mgmtclient
=
"
$exec_mgmtclient
--no-defaults"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults"
exec_ndb
=
"
$exec_ndb
--no-defaults"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults
$NDB_MGMD_EXTRA_OPTS
"
exec_ndb
=
"
$exec_ndb
--no-defaults
$NDBD_EXTRA_OPTS
"
exec_waiter
=
"
$exec_waiter
--no-defaults"
ndb_host
=
"localhost"
...
...
mysql-test/r/view.result
View file @
467dc1ba
...
...
@@ -1724,3 +1724,9 @@ a b
301 0
drop view v3;
drop tables t1,t2;
create table t1(f1 int);
create view v1 as select f1 from t1;
select * from v1 where F1 = 1;
f1
drop view v1;
drop table t1;
mysql-test/t/view.test
View file @
467dc1ba
...
...
@@ -1654,3 +1654,10 @@ select * from v3;
drop
view
v3
;
drop
tables
t1
,
t2
;
# View field names should be case insensitive
create
table
t1
(
f1
int
);
create
view
v1
as
select
f1
from
t1
;
select
*
from
v1
where
F1
=
1
;
drop
view
v1
;
drop
table
t1
;
sql/sql_base.cc
View file @
467dc1ba
...
...
@@ -2120,7 +2120,7 @@ find_field_in_table(THD *thd, TABLE_LIST *table_list,
Field_translator
*
trans
=
table_list
->
field_translation
;
for
(
uint
i
=
0
;
i
<
num
;
i
++
)
{
if
(
strcmp
(
trans
[
i
].
name
,
name
)
==
0
)
if
(
!
my_strcasecmp
(
system_charset_info
,
trans
[
i
].
name
,
name
)
)
{
#ifndef NO_EMBEDDED_ACCESS_CHECKS
if
(
check_grants_view
&&
...
...
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