mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes)
remove: * NDB from everywhere * IM from mtr-v1 * packaging/rpm-oel and packaging/rpm-uln * few unused spec files * plug.in file * .bzrignore
This commit is contained in:
@ -7,11 +7,9 @@ CREATE TABLE test1.t2 (f1 VARCHAR(20)) ENGINE = <engine_to_be_used>;
|
||||
CREATE TABLE test2.t1 (f1 VARCHAR(20)) ENGINE = <engine_to_be_used>;
|
||||
SELECT *,
|
||||
LEFT( table_comment,
|
||||
IF(INSTR(table_comment,'InnoDB free') = 0
|
||||
AND INSTR(table_comment,'number_of_replicas') = 0,
|
||||
IF(INSTR(table_comment,'InnoDB free') = 0,
|
||||
LENGTH(table_comment),
|
||||
INSTR(table_comment,'InnoDB free')
|
||||
+ INSTR(table_comment,'number_of_replicas') - 1))
|
||||
INSTR(table_comment,'InnoDB free') - 1))
|
||||
AS "user_comment",
|
||||
'-----------------------------------------------------' AS "Separator"
|
||||
FROM information_schema.tables
|
||||
@ -99,11 +97,9 @@ GRANT SELECT ON test1.* TO testuser1@localhost;
|
||||
# Establish connection testuser1 (user=testuser1)
|
||||
SELECT *,
|
||||
LEFT( table_comment,
|
||||
IF(INSTR(table_comment,'InnoDB free') = 0
|
||||
AND INSTR(table_comment,'number_of_replicas') = 0,
|
||||
IF(INSTR(table_comment,'InnoDB free') = 0,
|
||||
LENGTH(table_comment),
|
||||
INSTR(table_comment,'InnoDB free')
|
||||
+ INSTR(table_comment,'number_of_replicas') - 1))
|
||||
INSTR(table_comment,'InnoDB free') - 1))
|
||||
AS "user_comment",
|
||||
'-----------------------------------------------------' AS "Separator"
|
||||
FROM information_schema.tables
|
||||
|
Reference in New Issue
Block a user