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
70e7487d
Commit
70e7487d
authored
Jun 09, 2007
by
gluh@mysql.com/eagle.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation error fix
parent
237374c4
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
mysql-test/include/have_archive.inc
mysql-test/include/have_archive.inc
+1
-1
mysql-test/include/have_blackhole.inc
mysql-test/include/have_blackhole.inc
+1
-1
mysql-test/include/have_csv.inc
mysql-test/include/have_csv.inc
+1
-1
mysql-test/include/have_exampledb.inc
mysql-test/include/have_exampledb.inc
+1
-1
mysql-test/include/have_federated_db.inc
mysql-test/include/have_federated_db.inc
+1
-1
mysql-test/include/have_innodb.inc
mysql-test/include/have_innodb.inc
+1
-1
mysql-test/include/have_multi_ndb.inc
mysql-test/include/have_multi_ndb.inc
+2
-2
mysql-test/include/have_ndb.inc
mysql-test/include/have_ndb.inc
+1
-1
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+1
-1
sql/sql_show.cc
sql/sql_show.cc
+2
-2
No files found.
mysql-test/include/have_archive.inc
View file @
70e7487d
--
disable_query_log
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'archive'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'archive'
;
--
enable_query_log
mysql-test/include/have_blackhole.inc
View file @
70e7487d
disable_query_log
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'blackhole'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'blackhole'
;
enable_query_log
;
mysql-test/include/have_csv.inc
View file @
70e7487d
disable_query_log
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'csv'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'csv'
;
enable_query_log
;
mysql-test/include/have_exampledb.inc
View file @
70e7487d
disable_query_log
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'example'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'example'
;
enable_query_log
;
mysql-test/include/have_federated_db.inc
View file @
70e7487d
disable_query_log
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'federated'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'federated'
;
enable_query_log
;
mysql-test/include/have_innodb.inc
View file @
70e7487d
disable_query_log
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'innodb'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'innodb'
;
enable_query_log
;
mysql-test/include/have_multi_ndb.inc
View file @
70e7487d
...
...
@@ -10,7 +10,7 @@ drop table if exists t1, t2;
--
enable_warnings
flush
tables
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
enable_query_log
;
# Check that server2 has NDB support
...
...
@@ -21,7 +21,7 @@ drop table if exists t1, t2;
--
enable_warnings
flush
tables
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
enable_query_log
;
# Check should be here as well...
...
...
mysql-test/include/have_ndb.inc
View file @
70e7487d
# Check that server is compiled and started with support for NDB
disable_query_log
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
enable_query_log
;
...
...
mysql-test/r/information_schema.result
View file @
70e7487d
...
...
@@ -1400,7 +1400,7 @@ VIEWS information_schema.VIEWS 1
End of 5.0 tests.
select * from information_schema.engines WHERE ENGINE="MyISAM";
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
MyISAM
ENABLED
Default engine as of MySQL 3.23 with great performance NO NO NO
MyISAM
DEFAULT
Default engine as of MySQL 3.23 with great performance NO NO NO
grant select on *.* to user3148@localhost;
select user,db from information_schema.processlist;
user db
...
...
sql/sql_show.cc
View file @
70e7487d
...
...
@@ -3259,6 +3259,7 @@ static my_bool iter_schema_engines(THD *thd, plugin_ref plugin,
handlerton
*
hton
=
plugin_data
(
plugin
,
handlerton
*
);
const
char
*
wild
=
thd
->
lex
->
wild
?
thd
->
lex
->
wild
->
ptr
()
:
NullS
;
CHARSET_INFO
*
scs
=
system_charset_info
;
handlerton
*
default_type
=
ha_default_handlerton
(
thd
);
DBUG_ENTER
(
"iter_schema_engines"
);
if
(
!
(
hton
->
flags
&
HTON_HIDDEN
))
...
...
@@ -3274,8 +3275,7 @@ static my_bool iter_schema_engines(THD *thd, plugin_ref plugin,
restore_record
(
table
,
s
->
default_values
);
table
->
field
[
0
]
->
store
(
name
->
str
,
name
->
length
,
scs
);
if
(
hton
->
state
==
SHOW_OPTION_YES
&&
hton
==
thd
->
variables
.
table_type
)
if
(
hton
->
state
==
SHOW_OPTION_YES
&&
default_type
==
hton
)
option_name
=
"DEFAULT"
;
table
->
field
[
1
]
->
store
(
option_name
,
strlen
(
option_name
),
scs
);
table
->
field
[
2
]
->
store
(
plugin_decl
(
plugin
)
->
descr
,
...
...
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