~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/suite/funcs_1/t/is_routines.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# suite/funcs_1/t/is_routines.test
 
2
#
 
3
# Check the layout of information_schema.routines and the impact of
 
4
# CREATE/ALTER/DROP PROCEDURE/FUNCTION ... on it.
 
5
#
 
6
# Note:
 
7
#    This test is not intended
 
8
#    - to show information about the all time existing routines (there are no
 
9
#      in the moment) within the databases information_schema and mysql
 
10
#    - for checking storage engine properties
 
11
#      Therefore please do not alter $engine_type and $other_engine_type.
 
12
#
 
13
# Author:
 
14
# 2008-01-23 mleich WL#4203 Reorganize and fix the data dictionary tests of
 
15
#                           testsuite funcs_1
 
16
#                   Create this script based on older scripts and new code.
 
17
#
 
18
 
 
19
# --source suite/funcs_1/datadict/datadict.pre
 
20
 
 
21
let $engine_type       = MEMORY;
 
22
let $other_engine_type = MyISAM;
 
23
 
 
24
let $is_table = ROUTINES;
 
25
 
 
26
# The table INFORMATION_SCHEMA.TABLES must exist
 
27
eval SHOW TABLES FROM information_schema LIKE '$is_table';
 
28
 
 
29
--echo #######################################################################
 
30
--echo # Testcase 3.2.1.1: INFORMATION_SCHEMA tables can be queried via SELECT
 
31
--echo #######################################################################
 
32
# Ensure that every INFORMATION_SCHEMA table can be queried with a SELECT
 
33
# statement, just as if it were an ordinary user-defined table.
 
34
#
 
35
--source suite/funcs_1/datadict/is_table_query.inc
 
36
 
 
37
 
 
38
--echo #########################################################################
 
39
--echo # Testcase 3.2.8.1: INFORMATION_SCHEMA.ROUTINES layout
 
40
--echo #########################################################################
 
41
# Ensure that the INFORMATION_SCHEMA.ROUTINES table has the following columns,
 
42
# in the following order:
 
43
#
 
44
# SPECIFIC_NAME (shows the name of an accessible stored procedure, or routine),
 
45
# ROUTINE_CATALOG (always shows NULL),
 
46
# ROUTINE_SCHEMA (shows the database, or schema, in which the routine resides),
 
47
# ROUTINE_NAME (shows the same stored procedure name),
 
48
# ROUTINE_TYPE (shows whether the stored procedure is a procedure or a function),
 
49
# DTD_IDENTIFIER (shows, for a function, the complete data type definition of
 
50
#         the value the function will return; otherwise NULL),
 
51
# ROUTINE_BODY (shows the language in which the stored procedure is written;
 
52
#         currently always SQL),
 
53
# ROUTINE_DEFINITION (shows as much of the routine body as is possible in the
 
54
#         allotted space),
 
55
# EXTERNAL_NAME (always shows NULL),
 
56
# EXTERNAL_LANGUAGE (always shows NULL),
 
57
# PARAMETER_STYLE (shows the routine's parameter style; always SQL),
 
58
# IS_DETERMINISTIC (shows whether the routine is deterministic),
 
59
# SQL_DATA_ACCESS (shows the routine's defined sql-data-access clause value),
 
60
# SQL_PATH (always shows NULL),
 
61
# SECURITY_TYPE (shows whether the routine's defined security_type is 'definer'
 
62
#         or 'invoker'),
 
63
# CREATED (shows the timestamp of the time the routine was created),
 
64
# LAST_ALTERED (shows the timestamp of the time the routine was last altered),
 
65
# SQL_MODE (shows the sql_mode setting at the time the routine was created),
 
66
# ROUTINE_COMMENT (shows the comment, if any, defined for the routine;
 
67
#         otherwise NULL),
 
68
# DEFINER (shows the user who created the routine).
 
69
# Starting with MySQL 5.1
 
70
# CHARACTER_SET_CLIENT
 
71
# COLLATION_CONNECTION
 
72
# DATABASE_COLLATION
 
73
#
 
74
--source suite/funcs_1/datadict/datadict_bug_12777.inc
 
75
eval DESCRIBE          information_schema.$is_table;
 
76
--source suite/funcs_1/datadict/datadict_bug_12777.inc
 
77
eval SHOW CREATE TABLE information_schema.$is_table;
 
78
--source suite/funcs_1/datadict/datadict_bug_12777.inc
 
79
eval SHOW COLUMNS FROM information_schema.$is_table;
 
80
 
 
81
USE test;
 
82
--disable_warnings
 
83
DROP PROCEDURE IF EXISTS sp_for_routines;
 
84
DROP FUNCTION  IF EXISTS function_for_routines;
 
85
--enable_warnings
 
86
CREATE PROCEDURE sp_for_routines()      SELECT 'db_datadict';
 
87
CREATE FUNCTION function_for_routines() RETURNS INT RETURN 0;
 
88
 
 
89
# Show that the column values of
 
90
#   ROUTINE_CATALOG, EXTERNAL_NAME, EXTERNAL_LANGUAGE, SQL_PATH are always NULL
 
91
# and
 
92
#   ROUTINE_BODY, PARAMETER_STYLE are 'SQL'
 
93
# and
 
94
#   SPECIFIC_NAME = ROUTINE_NAME.
 
95
SELECT specific_name,routine_catalog,routine_schema,routine_name,routine_type,
 
96
       routine_body,external_name,external_language,parameter_style,sql_path
 
97
FROM information_schema.routines
 
98
WHERE routine_catalog   IS NOT NULL OR external_name   IS NOT NULL
 
99
   OR external_language IS NOT NULL OR sql_path        IS NOT NULL
 
100
   OR routine_body      <> 'SQL'    OR parameter_style <> 'SQL'
 
101
   OR specific_name     <> routine_name;
 
102
 
 
103
DROP PROCEDURE sp_for_routines;
 
104
DROP FUNCTION  function_for_routines;
 
105
 
 
106
 
 
107
--echo ################################################################################
 
108
--echo # Testcase 3.2.8.2 + 3.2.8.3: INFORMATION_SCHEMA.ROUTINES accessible information
 
109
--echo ################################################################################
 
110
# 3.2.8.2:  Ensure that the table shows the relevant information on every SQL-invoked
 
111
#           routine (i.e. stored procedure) which is accessible to the current user
 
112
#           or to PUBLIC.
 
113
# 3.2.8.3:  Ensure that the table does not show any information on any stored procedure
 
114
#           that is not accessible to the current user or PUBLIC.
 
115
#
 
116
--disable_warnings
 
117
DROP DATABASE IF EXISTS db_datadict;
 
118
DROP DATABASE IF EXISTS db_datadict_2;
 
119
--enable_warnings
 
120
 
 
121
CREATE DATABASE db_datadict;
 
122
USE db_datadict;
 
123
--replace_result $other_engine_type <other_engine_type>
 
124
eval
 
125
CREATE TABLE res_6_408002_1(f1 CHAR(3), f2 TEXT(25), f3 DATE, f4 INT)
 
126
ENGINE = $other_engine_type;
 
127
INSERT INTO res_6_408002_1(f1, f2, f3, f4)
 
128
VALUES('abc', 'xyz', '1989-11-09', 0815);
 
129
--disable_warnings
 
130
DROP PROCEDURE IF EXISTS sp_6_408002_1;
 
131
--enable_warnings
 
132
delimiter //;
 
133
CREATE PROCEDURE sp_6_408002_1()
 
134
BEGIN
 
135
   SELECT * FROM db_datadict.res_6_408002_1;
 
136
END//
 
137
delimiter ;//
 
138
 
 
139
CREATE DATABASE db_datadict_2;
 
140
USE db_datadict_2;
 
141
--replace_result $other_engine_type <other_engine_type>
 
142
eval
 
143
CREATE TABLE res_6_408002_2(f1 CHAR(3), f2 TEXT(25), f3 DATE, f4 INT)
 
144
ENGINE = $other_engine_type;
 
145
INSERT INTO res_6_408002_2(f1, f2, f3, f4)
 
146
VALUES('abc', 'xyz', '1990-10-03', 4711);
 
147
--disable_warnings
 
148
DROP PROCEDURE IF EXISTS sp_6_408002_2;
 
149
--enable_warnings
 
150
delimiter //;
 
151
CREATE PROCEDURE sp_6_408002_2()
 
152
BEGIN
 
153
   SELECT * FROM db_datadict_2.res_6_408002_2;
 
154
END//
 
155
delimiter ;//
 
156
 
 
157
--error 0,ER_CANNOT_USER
 
158
DROP   USER 'testuser1'@'localhost';
 
159
CREATE USER 'testuser1'@'localhost';
 
160
--error 0,ER_CANNOT_USER
 
161
DROP   USER 'testuser2'@'localhost';
 
162
CREATE USER 'testuser2'@'localhost';
 
163
--error 0,ER_CANNOT_USER
 
164
DROP   USER 'testuser3'@'localhost';
 
165
CREATE USER 'testuser3'@'localhost';
 
166
 
 
167
 
 
168
GRANT SELECT  ON db_datadict_2.* TO 'testuser1'@'localhost';
 
169
GRANT EXECUTE ON db_datadict_2.* TO 'testuser1'@'localhost';
 
170
 
 
171
GRANT EXECUTE ON db_datadict.*   TO 'testuser1'@'localhost';
 
172
GRANT SELECT  ON db_datadict.*   TO 'testuser2'@'localhost';
 
173
 
 
174
GRANT EXECUTE ON PROCEDURE db_datadict_2.sp_6_408002_2
 
175
TO 'testuser2'@'localhost';
 
176
GRANT EXECUTE ON db_datadict_2.* TO 'testuser2'@'localhost';
 
177
FLUSH PRIVILEGES;
 
178
 
 
179
--echo # Establish connection testuser1 (user=testuser1)
 
180
--replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK
 
181
connect (testuser1, localhost, testuser1, , db_datadict);
 
182
--replace_column 23 <created> 24 <last_altered>
 
183
SELECT * FROM information_schema.routines;
 
184
 
 
185
--echo # Establish connection testuser2 (user=testuser2)
 
186
--replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK
 
187
connect (testuser2, localhost, testuser2, , db_datadict);
 
188
--replace_column 23 <created> 24 <last_altered>
 
189
SELECT * FROM information_schema.routines;
 
190
 
 
191
--echo # Establish connection testuser3 (user=testuser3)
 
192
--replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK
 
193
connect (testuser3, localhost, testuser3, , test);
 
194
--replace_column 23 <created> 24 <last_altered>
 
195
SELECT * FROM information_schema.routines;
 
196
 
 
197
# Cleanup
 
198
--echo # Switch to connection default and close connections testuser1,testuser2,testuser3
 
199
connection default;
 
200
disconnect testuser1;
 
201
disconnect testuser2;
 
202
disconnect testuser3;
 
203
 
 
204
DROP USER 'testuser1'@'localhost';
 
205
DROP USER 'testuser2'@'localhost';
 
206
DROP USER 'testuser3'@'localhost';
 
207
 
 
208
USE test;
 
209
DROP DATABASE db_datadict;
 
210
DROP DATABASE db_datadict_2;
 
211
 
 
212
 
 
213
--echo #########################################################################
 
214
--echo # 3.2.1.13+3.2.1.14+3.2.1.15: INFORMATION_SCHEMA.ROUTINES modifications
 
215
--echo #########################################################################
 
216
# 3.2.1.13: Ensure that the creation of any new database object (e.g. table or
 
217
#           column) automatically inserts all relevant information on that
 
218
#           object into every appropriate INFORMATION_SCHEMA table.
 
219
# 3.2.1.14: Ensure that the alteration of any existing database object
 
220
#           automatically updates all relevant information on that object in
 
221
#           every appropriate INFORMATION_SCHEMA table.
 
222
# 3.2.1.15: Ensure that the dropping of any existing database object
 
223
#           automatically deletes all relevant information on that object from
 
224
#           every appropriate INFORMATION_SCHEMA table.
 
225
#
 
226
# Some more tests are in t/information_schema_routines.test which exists
 
227
# in MySQL 5.1 and up only.
 
228
#
 
229
--disable_warnings
 
230
DROP DATABASE IF EXISTS db_datadict;
 
231
--enable_warnings
 
232
CREATE DATABASE db_datadict;
 
233
 
 
234
SELECT * FROM information_schema.routines WHERE routine_schema = 'db_datadict';
 
235
USE db_datadict;
 
236
CREATE PROCEDURE sp_for_routines()      SELECT 'db_datadict';
 
237
CREATE FUNCTION function_for_routines() RETURNS INT RETURN 0;
 
238
--vertical_results
 
239
--replace_column 23 <created> 24 <last_altered>
 
240
SELECT * FROM information_schema.routines WHERE routine_schema = 'db_datadict'
 
241
ORDER BY routine_name;
 
242
--horizontal_results
 
243
 
 
244
ALTER PROCEDURE sp_for_routines SQL SECURITY INVOKER;
 
245
ALTER FUNCTION function_for_routines COMMENT 'updated comments';
 
246
--vertical_results
 
247
--replace_column 23 <created> 24 <last_altered>
 
248
SELECT * FROM information_schema.routines WHERE routine_schema = 'db_datadict'
 
249
ORDER BY routine_name;
 
250
--horizontal_results
 
251
 
 
252
DROP PROCEDURE sp_for_routines;
 
253
DROP FUNCTION function_for_routines;
 
254
SELECT * FROM information_schema.routines WHERE routine_schema = 'db_datadict';
 
255
 
 
256
CREATE PROCEDURE sp_for_routines()      SELECT 'db_datadict';
 
257
CREATE FUNCTION function_for_routines() RETURNS INT RETURN 0;
 
258
--vertical_results
 
259
--replace_column 23 <created> 24 <last_altered>
 
260
SELECT * FROM information_schema.routines WHERE routine_schema = 'db_datadict'
 
261
ORDER BY routine_name;
 
262
--horizontal_results
 
263
use test;
 
264
DROP DATABASE db_datadict;
 
265
SELECT * FROM information_schema.routines WHERE routine_schema = 'db_datadict';
 
266
 
 
267
 
 
268
--echo #########################################################################
 
269
--echo # 3.2.8.4: INFORMATION_SCHEMA.ROUTINES routine body too big for
 
270
--echo #          ROUTINE_DEFINITION column
 
271
--echo #########################################################################
 
272
# Ensure that a stored procedure with a routine body that is too large to fit
 
273
# into the INFORMATION_SCHEMA.ROUTINES.ROUTINE_DEFINITION column correctly shows
 
274
# as much of the information as is possible within the allotted size.
 
275
#
 
276
--disable_warnings
 
277
DROP DATABASE IF EXISTS db_datadict;
 
278
--enable_warnings
 
279
CREATE DATABASE db_datadict;
 
280
USE db_datadict;
 
281
#
 
282
--replace_result $other_engine_type <other_engine_type>
 
283
eval
 
284
CREATE TABLE db_datadict.res_6_408004_1
 
285
       (f1 LONGTEXT , f2 MEDIUMINT , f3 LONGBLOB , f4 REAL , f5 YEAR)
 
286
ENGINE = $other_engine_type;
 
287
INSERT INTO db_datadict.res_6_408004_1
 
288
VALUES ('abc', 98765 , 99999999 , 98765, 10);
 
289
#
 
290
--replace_result $other_engine_type <other_engine_type>
 
291
eval
 
292
CREATE TABLE db_datadict.res_6_408004_2
 
293
       (f1 LONGTEXT , f2 MEDIUMINT , f3 LONGBLOB , f4 REAL , f5 YEAR)
 
294
ENGINE = $other_engine_type;
 
295
INSERT INTO db_datadict.res_6_408004_2
 
296
VALUES ('abc', 98765 , 99999999 , 98765, 10);
 
297
 
 
298
--echo # Checking the max. possible length of (currently) 4 GByte is not
 
299
--echo # in this environment here.
 
300
 
 
301
delimiter //;
 
302
CREATE PROCEDURE sp_6_408004 ()
 
303
BEGIN
 
304
   DECLARE done INTEGER DEFAULt 0;
 
305
   DECLARE variable_number_1 LONGTEXT;
 
306
   DECLARE variable_number_2 MEDIUMINT;
 
307
   DECLARE variable_number_3 LONGBLOB;
 
308
   DECLARE variable_number_4 REAL;
 
309
   DECLARE variable_number_5 YEAR;
 
310
   DECLARE cursor_number_1 CURSOR FOR SELECT * FROM res_6_408004_1 LIMIT 0, 10;
 
311
   DECLARE cursor_number_2 CURSOR FOR SELECT * FROM res_6_408004_1 LIMIT 0, 10;
 
312
   DECLARE cursor_number_3 CURSOR FOR SELECT * FROM res_6_408004_1 LIMIT 0, 10;
 
313
   DECLARE cursor_number_4 CURSOR FOR SELECT * FROM res_6_408004_1 LIMIT 0, 10;
 
314
   DECLARE cursor_number_5 CURSOR FOR SELECT * FROM res_6_408004_1 LIMIT 0, 10;
 
315
   DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1;
 
316
   BEGIN
 
317
      OPEN cursor_number_1;
 
318
      WHILE done <> 1 DO
 
319
         FETCH cursor_number_1
 
320
         INTO variable_number_1, variable_number_2, variable_number_3,
 
321
              variable_number_4, variable_number_5;
 
322
         IF done <> 0 THEN
 
323
            INSERT INTO res_6_408004_2
 
324
            VALUES (variable_number_1, variable_number_2, variable_number_3,
 
325
                    variable_number_4, variable_number_5);
 
326
         END IF;
 
327
      END WHILE;
 
328
      BEGIN
 
329
         BEGIN
 
330
            SET done = 0;
 
331
            OPEN cursor_number_2;
 
332
            WHILE done <> 1 DO
 
333
               FETCH cursor_number_2
 
334
               INTO variable_number_1, variable_number_2, variable_number_3,
 
335
                    variable_number_4, variable_number_5;
 
336
               IF done <> 0 THEN
 
337
                  INSERT INTO res_6_408004_2
 
338
                  VALUES(variable_number_1, variable_number_2, variable_number_3,
 
339
                         variable_number_4, variable_number_5);
 
340
               END IF;
 
341
            END WHILE;
 
342
         END;
 
343
         SET done = 0;
 
344
         OPEN cursor_number_3;
 
345
         WHILE done <> 1 DO
 
346
            FETCH cursor_number_3
 
347
            INTO variable_number_1, variable_number_2, variable_number_3,
 
348
                 variable_number_4, variable_number_5;
 
349
            IF done <> 0 THEN
 
350
               INSERT INTO res_6_408004_2
 
351
               VALUES(variable_number_1, variable_number_2, variable_number_3,
 
352
                      variable_number_4, variable_number_5);
 
353
            END IF;
 
354
         END WHILE;
 
355
      END;
 
356
   END;
 
357
   BEGIN
 
358
      SET done = 0;
 
359
      OPEN cursor_number_4;
 
360
      WHILE done <> 1 DO
 
361
         FETCH cursor_number_4
 
362
         INTO variable_number_1, variable_number_2, variable_number_3,
 
363
              variable_number_4, variable_number_5;
 
364
         IF done <> 0 THEN
 
365
            INSERT INTO res_6_408004_2
 
366
            VALUES (variable_number_1, variable_number_2, variable_number_3,
 
367
                    variable_number_4, variable_number_5);
 
368
         END IF;
 
369
      END WHILE;
 
370
   END;
 
371
   BEGIN
 
372
      SET @a='test row';
 
373
      SELECT @a;
 
374
      SELECT @a;
 
375
      SELECT @a;
 
376
   END;
 
377
   BEGIN
 
378
      SET done = 0;
 
379
      OPEN cursor_number_5;
 
380
      WHILE done <> 1 DO
 
381
         FETCH cursor_number_5
 
382
         INTO variable_number_1, variable_number_2, variable_number_3,
 
383
              variable_number_4, variable_number_5;
 
384
         IF done <> 0 THEN
 
385
            INSERT INTO res_6_408004_2
 
386
            VALUES (variable_number_1, variable_number_2, variable_number_3,
 
387
                    variable_number_4, variable_number_5);
 
388
         END IF;
 
389
      END WHILE;
 
390
   END;
 
391
   BEGIN
 
392
      SET @a='test row';
 
393
      SELECT @a;
 
394
      SELECT @a;
 
395
      SELECT @a;
 
396
   END;
 
397
END//
 
398
delimiter ;//
 
399
 
 
400
CALL db_datadict.sp_6_408004 ();
 
401
SELECT * FROM db_datadict.res_6_408004_2;
 
402
 
 
403
--vertical_results
 
404
--replace_column 23 <created> 24 <last_altered>
 
405
SELECT *, LENGTH(routine_definition) FROM information_schema.routines
 
406
WHERE routine_schema = 'db_datadict';
 
407
--horizontal_results
 
408
 
 
409
# Cleanup
 
410
DROP DATABASE db_datadict;
 
411
# ----------------------------------------------------------------------------------------------
 
412
 
 
413
 
 
414
--echo ########################################################################
 
415
--echo # Testcases 3.2.1.3-3.2.1.5 + 3.2.1.8-3.2.1.12: INSERT/UPDATE/DELETE and
 
416
--echo #           DDL on INFORMATION_SCHEMA table are not supported
 
417
--echo ########################################################################
 
418
# 3.2.1.3:  Ensure that no user may execute an INSERT statement on any
 
419
#           INFORMATION_SCHEMA table.
 
420
# 3.2.1.4:  Ensure that no user may execute an UPDATE statement on any
 
421
#           INFORMATION_SCHEMA table.
 
422
# 3.2.1.5:  Ensure that no user may execute a DELETE statement on any
 
423
#           INFORMATION_SCHEMA table.
 
424
# 3.2.1.8:  Ensure that no user may create an index on an INFORMATION_SCHEMA table.
 
425
# 3.2.1.9:  Ensure that no user may alter the definition of an
 
426
#           INFORMATION_SCHEMA table.
 
427
# 3.2.1.10: Ensure that no user may drop an INFORMATION_SCHEMA table.
 
428
# 3.2.1.11: Ensure that no user may move an INFORMATION_SCHEMA table to any
 
429
#           other database.
 
430
# 3.2.1.12: Ensure that no user may directly add to, alter, or delete any data
 
431
#           in an INFORMATION_SCHEMA table.
 
432
#
 
433
--disable_warnings
 
434
DROP DATABASE IF EXISTS db_datadict;
 
435
--enable_warnings
 
436
CREATE DATABASE db_datadict;
 
437
USE db_datadict;
 
438
CREATE PROCEDURE sp_for_routines() SELECT 'db_datadict';
 
439
USE test;
 
440
 
 
441
--error ER_DBACCESS_DENIED_ERROR
 
442
INSERT INTO information_schema.routines (routine_name, routine_type )
 
443
VALUES ('p2', 'procedure');
 
444
 
 
445
--error ER_DBACCESS_DENIED_ERROR
 
446
UPDATE information_schema.routines SET routine_name = 'p2'
 
447
WHERE routine_body = 'sql';
 
448
 
 
449
--error ER_DBACCESS_DENIED_ERROR
 
450
DELETE FROM information_schema.routines ;
 
451
#
 
452
--error ER_DBACCESS_DENIED_ERROR
 
453
TRUNCATE information_schema.routines ;
 
454
 
 
455
--error ER_DBACCESS_DENIED_ERROR
 
456
CREATE INDEX i7 ON information_schema.routines (routine_name);
 
457
 
 
458
--error ER_DBACCESS_DENIED_ERROR
 
459
ALTER TABLE information_schema.routines  ADD f1 INT;
 
460
#
 
461
--error ER_DBACCESS_DENIED_ERROR
 
462
ALTER TABLE information_schema.routines  DISCARD TABLESPACE;
 
463
 
 
464
--error ER_DBACCESS_DENIED_ERROR
 
465
DROP TABLE information_schema.routines ;
 
466
 
 
467
--error ER_DBACCESS_DENIED_ERROR
 
468
ALTER TABLE information_schema.routines RENAME db_datadict.routines;
 
469
#
 
470
--error ER_DBACCESS_DENIED_ERROR
 
471
ALTER TABLE information_schema.routines RENAME information_schema.xroutines;
 
472
 
 
473
# Cleanup
 
474
DROP DATABASE db_datadict;
 
475