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
9818ac92
Commit
9818ac92
authored
Nov 19, 2002
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added 'USING BTREE' for 'show create table' for HEAP
parent
ba62e1a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sql/sql_show.cc
sql/sql_show.cc
+4
-0
No files found.
sql/sql_show.cc
View file @
9818ac92
...
...
@@ -1140,6 +1140,10 @@ store_create_info(THD *thd, TABLE *table, String *packet)
if
(
!
found_primary
)
append_identifier
(
thd
,
packet
,
key_info
->
name
);
if
(
table
->
db_type
==
DB_TYPE_HEAP
&&
key_info
->
algorithm
==
HA_KEY_ALG_BTREE
)
packet
->
append
(
" USING BTREE"
,
12
);
// +BAR: send USING only in non-default case: non-spatial rtree
if
((
key_info
->
algorithm
==
HA_KEY_ALG_RTREE
)
&&
!
(
key_info
->
flags
&
HA_SPATIAL
))
...
...
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