4380
4376
0, (MY_I_S_MAYBE_NULL | MY_I_S_UNSIGNED), 0, OPEN_FRM_ONLY},
4381
4377
{"NUMERIC_SCALE", MY_INT64_NUM_DECIMAL_DIGITS , DRIZZLE_TYPE_LONGLONG,
4382
4378
0, (MY_I_S_MAYBE_NULL | MY_I_S_UNSIGNED), 0, OPEN_FRM_ONLY},
4383
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FRM_ONLY},
4384
{"COLLATION_NAME", 64, DRIZZLE_TYPE_STRING, 0, 1, "Collation", OPEN_FRM_ONLY},
4385
{"COLUMN_TYPE", 65535, DRIZZLE_TYPE_STRING, 0, 0, "Type", OPEN_FRM_ONLY},
4386
{"COLUMN_KEY", 3, DRIZZLE_TYPE_STRING, 0, 0, "Key", OPEN_FRM_ONLY},
4387
{"EXTRA", 27, DRIZZLE_TYPE_STRING, 0, 0, "Extra", OPEN_FRM_ONLY},
4388
{"PRIVILEGES", 80, DRIZZLE_TYPE_STRING, 0, 0, "Privileges", OPEN_FRM_ONLY},
4389
{"COLUMN_COMMENT", COLUMN_COMMENT_MAXLEN, DRIZZLE_TYPE_STRING, 0, 0, "Comment", OPEN_FRM_ONLY},
4390
{"STORAGE", 8, DRIZZLE_TYPE_STRING, 0, 0, "Storage", OPEN_FRM_ONLY},
4391
{"FORMAT", 8, DRIZZLE_TYPE_STRING, 0, 0, "Format", OPEN_FRM_ONLY},
4392
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4379
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FRM_ONLY},
4380
{"COLLATION_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 1, "Collation", OPEN_FRM_ONLY},
4381
{"COLUMN_TYPE", 65535, DRIZZLE_TYPE_VARCHAR, 0, 0, "Type", OPEN_FRM_ONLY},
4382
{"COLUMN_KEY", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, "Key", OPEN_FRM_ONLY},
4383
{"EXTRA", 27, DRIZZLE_TYPE_VARCHAR, 0, 0, "Extra", OPEN_FRM_ONLY},
4384
{"PRIVILEGES", 80, DRIZZLE_TYPE_VARCHAR, 0, 0, "Privileges", OPEN_FRM_ONLY},
4385
{"COLUMN_COMMENT", COLUMN_COMMENT_MAXLEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Comment", OPEN_FRM_ONLY},
4386
{"STORAGE", 8, DRIZZLE_TYPE_VARCHAR, 0, 0, "Storage", OPEN_FRM_ONLY},
4387
{"FORMAT", 8, DRIZZLE_TYPE_VARCHAR, 0, 0, "Format", OPEN_FRM_ONLY},
4388
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4396
4392
ST_FIELD_INFO charsets_fields_info[]=
4398
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_STRING, 0, 0, "Charset",
4400
{"DEFAULT_COLLATE_NAME", 64, DRIZZLE_TYPE_STRING, 0, 0, "Default collation",
4402
{"DESCRIPTION", 60, DRIZZLE_TYPE_STRING, 0, 0, "Description",
4394
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, "Charset",
4396
{"DEFAULT_COLLATE_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, "Default collation",
4398
{"DESCRIPTION", 60, DRIZZLE_TYPE_VARCHAR, 0, 0, "Description",
4403
4399
SKIP_OPEN_TABLE},
4404
4400
{"MAXLEN", 3, DRIZZLE_TYPE_LONGLONG, 0, 0, "Maxlen", SKIP_OPEN_TABLE},
4405
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4401
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4409
4405
ST_FIELD_INFO collation_fields_info[]=
4411
{"COLLATION_NAME", 64, DRIZZLE_TYPE_STRING, 0, 0, "Collation", SKIP_OPEN_TABLE},
4412
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_STRING, 0, 0, "Charset",
4407
{"COLLATION_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, "Collation", SKIP_OPEN_TABLE},
4408
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, "Charset",
4413
4409
SKIP_OPEN_TABLE},
4414
4410
{"ID", MY_INT32_NUM_DECIMAL_DIGITS, DRIZZLE_TYPE_LONGLONG, 0, 0, "Id",
4415
4411
SKIP_OPEN_TABLE},
4416
{"IS_DEFAULT", 3, DRIZZLE_TYPE_STRING, 0, 0, "Default", SKIP_OPEN_TABLE},
4417
{"IS_COMPILED", 3, DRIZZLE_TYPE_STRING, 0, 0, "Compiled", SKIP_OPEN_TABLE},
4412
{"IS_DEFAULT", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, "Default", SKIP_OPEN_TABLE},
4413
{"IS_COMPILED", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, "Compiled", SKIP_OPEN_TABLE},
4418
4414
{"SORTLEN", 3, DRIZZLE_TYPE_LONGLONG, 0, 0, "Sortlen", SKIP_OPEN_TABLE},
4419
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4415
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4423
4419
ST_FIELD_INFO events_fields_info[]=
4425
{"EVENT_CATALOG", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4426
{"EVENT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Db",
4428
{"EVENT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Name",
4430
{"DEFINER", 77, DRIZZLE_TYPE_STRING, 0, 0, "Definer", SKIP_OPEN_TABLE},
4431
{"TIME_ZONE", 64, DRIZZLE_TYPE_STRING, 0, 0, "Time zone", SKIP_OPEN_TABLE},
4432
{"EVENT_BODY", 8, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4433
{"EVENT_DEFINITION", 65535, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4434
{"EVENT_TYPE", 9, DRIZZLE_TYPE_STRING, 0, 0, "Type", SKIP_OPEN_TABLE},
4421
{"EVENT_CATALOG", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4422
{"EVENT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Db",
4424
{"EVENT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Name",
4426
{"DEFINER", 77, DRIZZLE_TYPE_VARCHAR, 0, 0, "Definer", SKIP_OPEN_TABLE},
4427
{"TIME_ZONE", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, "Time zone", SKIP_OPEN_TABLE},
4428
{"EVENT_BODY", 8, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4429
{"EVENT_DEFINITION", 65535, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4430
{"EVENT_TYPE", 9, DRIZZLE_TYPE_VARCHAR, 0, 0, "Type", SKIP_OPEN_TABLE},
4435
4431
{"EXECUTE_AT", 0, DRIZZLE_TYPE_DATETIME, 0, 1, "Execute at", SKIP_OPEN_TABLE},
4436
{"INTERVAL_VALUE", 256, DRIZZLE_TYPE_STRING, 0, 1, "Interval value",
4438
{"INTERVAL_FIELD", 18, DRIZZLE_TYPE_STRING, 0, 1, "Interval field",
4440
{"SQL_MODE", 65535, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4432
{"INTERVAL_VALUE", 256, DRIZZLE_TYPE_VARCHAR, 0, 1, "Interval value",
4434
{"INTERVAL_FIELD", 18, DRIZZLE_TYPE_VARCHAR, 0, 1, "Interval field",
4436
{"SQL_MODE", 65535, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4441
4437
{"STARTS", 0, DRIZZLE_TYPE_DATETIME, 0, 1, "Starts", SKIP_OPEN_TABLE},
4442
4438
{"ENDS", 0, DRIZZLE_TYPE_DATETIME, 0, 1, "Ends", SKIP_OPEN_TABLE},
4443
{"STATUS", 18, DRIZZLE_TYPE_STRING, 0, 0, "Status", SKIP_OPEN_TABLE},
4444
{"ON_COMPLETION", 12, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4439
{"STATUS", 18, DRIZZLE_TYPE_VARCHAR, 0, 0, "Status", SKIP_OPEN_TABLE},
4440
{"ON_COMPLETION", 12, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4445
4441
{"CREATED", 0, DRIZZLE_TYPE_DATETIME, 0, 0, 0, SKIP_OPEN_TABLE},
4446
4442
{"LAST_ALTERED", 0, DRIZZLE_TYPE_DATETIME, 0, 0, 0, SKIP_OPEN_TABLE},
4447
4443
{"LAST_EXECUTED", 0, DRIZZLE_TYPE_DATETIME, 0, 1, 0, SKIP_OPEN_TABLE},
4448
{"EVENT_COMMENT", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4444
{"EVENT_COMMENT", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4449
4445
{"ORIGINATOR", 10, DRIZZLE_TYPE_LONGLONG, 0, 0, "Originator", SKIP_OPEN_TABLE},
4450
{"CHARACTER_SET_CLIENT", MY_CS_NAME_SIZE, DRIZZLE_TYPE_STRING, 0, 0,
4446
{"CHARACTER_SET_CLIENT", MY_CS_NAME_SIZE, DRIZZLE_TYPE_VARCHAR, 0, 0,
4451
4447
"character_set_client", SKIP_OPEN_TABLE},
4452
{"COLLATION_CONNECTION", MY_CS_NAME_SIZE, DRIZZLE_TYPE_STRING, 0, 0,
4448
{"COLLATION_CONNECTION", MY_CS_NAME_SIZE, DRIZZLE_TYPE_VARCHAR, 0, 0,
4453
4449
"collation_connection", SKIP_OPEN_TABLE},
4454
{"DATABASE_COLLATION", MY_CS_NAME_SIZE, DRIZZLE_TYPE_STRING, 0, 0,
4450
{"DATABASE_COLLATION", MY_CS_NAME_SIZE, DRIZZLE_TYPE_VARCHAR, 0, 0,
4455
4451
"Database Collation", SKIP_OPEN_TABLE},
4456
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4452
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4461
4457
ST_FIELD_INFO coll_charset_app_fields_info[]=
4463
{"COLLATION_NAME", 64, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4464
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4465
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4459
{"COLLATION_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4460
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4461
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4469
4465
ST_FIELD_INFO stat_fields_info[]=
4471
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FRM_ONLY},
4472
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FRM_ONLY},
4473
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Table", OPEN_FRM_ONLY},
4467
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FRM_ONLY},
4468
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FRM_ONLY},
4469
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Table", OPEN_FRM_ONLY},
4474
4470
{"NON_UNIQUE", 1, DRIZZLE_TYPE_LONGLONG, 0, 0, "Non_unique", OPEN_FRM_ONLY},
4475
{"INDEX_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FRM_ONLY},
4476
{"INDEX_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Key_name",
4471
{"INDEX_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FRM_ONLY},
4472
{"INDEX_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Key_name",
4477
4473
OPEN_FRM_ONLY},
4478
4474
{"SEQ_IN_INDEX", 2, DRIZZLE_TYPE_LONGLONG, 0, 0, "Seq_in_index", OPEN_FRM_ONLY},
4479
{"COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Column_name",
4475
{"COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Column_name",
4480
4476
OPEN_FRM_ONLY},
4481
{"COLLATION", 1, DRIZZLE_TYPE_STRING, 0, 1, "Collation", OPEN_FRM_ONLY},
4477
{"COLLATION", 1, DRIZZLE_TYPE_VARCHAR, 0, 1, "Collation", OPEN_FRM_ONLY},
4482
4478
{"CARDINALITY", MY_INT64_NUM_DECIMAL_DIGITS, DRIZZLE_TYPE_LONGLONG, 0, 1,
4483
4479
"Cardinality", OPEN_FULL_TABLE},
4484
4480
{"SUB_PART", 3, DRIZZLE_TYPE_LONGLONG, 0, 1, "Sub_part", OPEN_FRM_ONLY},
4485
{"PACKED", 10, DRIZZLE_TYPE_STRING, 0, 1, "Packed", OPEN_FRM_ONLY},
4486
{"NULLABLE", 3, DRIZZLE_TYPE_STRING, 0, 0, "Null", OPEN_FRM_ONLY},
4487
{"INDEX_TYPE", 16, DRIZZLE_TYPE_STRING, 0, 0, "Index_type", OPEN_FULL_TABLE},
4488
{"COMMENT", 16, DRIZZLE_TYPE_STRING, 0, 1, "Comment", OPEN_FRM_ONLY},
4489
{"INDEX_COMMENT", INDEX_COMMENT_MAXLEN, DRIZZLE_TYPE_STRING, 0, 0, "Index_Comment", OPEN_FRM_ONLY},
4490
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4481
{"PACKED", 10, DRIZZLE_TYPE_VARCHAR, 0, 1, "Packed", OPEN_FRM_ONLY},
4482
{"NULLABLE", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, "Null", OPEN_FRM_ONLY},
4483
{"INDEX_TYPE", 16, DRIZZLE_TYPE_VARCHAR, 0, 0, "Index_type", OPEN_FULL_TABLE},
4484
{"COMMENT", 16, DRIZZLE_TYPE_VARCHAR, 0, 1, "Comment", OPEN_FRM_ONLY},
4485
{"INDEX_COMMENT", INDEX_COMMENT_MAXLEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Index_Comment", OPEN_FRM_ONLY},
4486
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4494
4490
ST_FIELD_INFO user_privileges_fields_info[]=
4496
{"GRANTEE", 81, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4497
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4498
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4499
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4500
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4492
{"GRANTEE", 81, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4493
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4494
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4495
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4496
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4504
4500
ST_FIELD_INFO schema_privileges_fields_info[]=
4506
{"GRANTEE", 81, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4507
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4508
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4509
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4510
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4511
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4502
{"GRANTEE", 81, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4503
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4504
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4505
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4506
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4507
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4515
4511
ST_FIELD_INFO table_privileges_fields_info[]=
4517
{"GRANTEE", 81, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4518
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4519
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4520
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4521
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4522
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4523
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4513
{"GRANTEE", 81, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4514
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4515
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4516
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4517
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4518
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4519
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4527
4523
ST_FIELD_INFO column_privileges_fields_info[]=
4529
{"GRANTEE", 81, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4530
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4531
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4532
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4533
{"COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4534
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4535
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4536
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4525
{"GRANTEE", 81, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4526
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4527
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4528
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4529
{"COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4530
{"PRIVILEGE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4531
{"IS_GRANTABLE", 3, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4532
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4540
4536
ST_FIELD_INFO table_constraints_fields_info[]=
4542
{"CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4543
{"CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4545
{"CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4547
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4548
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4549
{"CONSTRAINT_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4551
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4538
{"CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4539
{"CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4541
{"CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4543
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4544
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4545
{"CONSTRAINT_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4547
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4555
4551
ST_FIELD_INFO key_column_usage_fields_info[]=
4557
{"CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4558
{"CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4560
{"CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4562
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4563
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4564
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4565
{"COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4553
{"CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4554
{"CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4556
{"CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4558
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4559
{"TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4560
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4561
{"COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4566
4562
{"ORDINAL_POSITION", 10 ,DRIZZLE_TYPE_LONGLONG, 0, 0, 0, OPEN_FULL_TABLE},
4567
4563
{"POSITION_IN_UNIQUE_CONSTRAINT", 10 ,DRIZZLE_TYPE_LONGLONG, 0, 1, 0,
4568
4564
OPEN_FULL_TABLE},
4569
{"REFERENCED_TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 1, 0,
4571
{"REFERENCED_TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 1, 0,
4573
{"REFERENCED_COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 1, 0,
4575
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4565
{"REFERENCED_TABLE_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0,
4567
{"REFERENCED_TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0,
4569
{"REFERENCED_COLUMN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0,
4571
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4579
4575
ST_FIELD_INFO table_names_fields_info[]=
4581
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4582
{"TABLE_SCHEMA",NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4583
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Tables_in_",
4577
{"TABLE_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4578
{"TABLE_SCHEMA",NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4579
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Tables_in_",
4584
4580
SKIP_OPEN_TABLE},
4585
{"TABLE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Table_type",
4581
{"TABLE_TYPE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Table_type",
4586
4582
OPEN_FRM_ONLY},
4587
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4583
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4591
4587
ST_FIELD_INFO open_tables_fields_info[]=
4593
{"Database", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Database",
4589
{"Database", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Database",
4594
4590
SKIP_OPEN_TABLE},
4595
{"Table",NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Table", SKIP_OPEN_TABLE},
4591
{"Table",NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Table", SKIP_OPEN_TABLE},
4596
4592
{"In_use", 1, DRIZZLE_TYPE_LONGLONG, 0, 0, "In_use", SKIP_OPEN_TABLE},
4597
4593
{"Name_locked", 4, DRIZZLE_TYPE_LONGLONG, 0, 0, "Name_locked", SKIP_OPEN_TABLE},
4598
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4594
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4602
4598
ST_FIELD_INFO variables_fields_info[]=
4604
{"VARIABLE_NAME", 64, DRIZZLE_TYPE_STRING, 0, 0, "Variable_name",
4600
{"VARIABLE_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 0, "Variable_name",
4605
4601
SKIP_OPEN_TABLE},
4606
{"VARIABLE_VALUE", 16300, DRIZZLE_TYPE_STRING, 0, 1, "Value", SKIP_OPEN_TABLE},
4607
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4602
{"VARIABLE_VALUE", 16300, DRIZZLE_TYPE_VARCHAR, 0, 1, "Value", SKIP_OPEN_TABLE},
4603
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4611
4607
ST_FIELD_INFO processlist_fields_info[]=
4613
4609
{"ID", 4, DRIZZLE_TYPE_LONGLONG, 0, 0, "Id", SKIP_OPEN_TABLE},
4614
{"USER", 16, DRIZZLE_TYPE_STRING, 0, 0, "User", SKIP_OPEN_TABLE},
4615
{"HOST", LIST_PROCESS_HOST_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Host",
4610
{"USER", 16, DRIZZLE_TYPE_VARCHAR, 0, 0, "User", SKIP_OPEN_TABLE},
4611
{"HOST", LIST_PROCESS_HOST_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Host",
4616
4612
SKIP_OPEN_TABLE},
4617
{"DB", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 1, "Db", SKIP_OPEN_TABLE},
4618
{"COMMAND", 16, DRIZZLE_TYPE_STRING, 0, 0, "Command", SKIP_OPEN_TABLE},
4613
{"DB", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, "Db", SKIP_OPEN_TABLE},
4614
{"COMMAND", 16, DRIZZLE_TYPE_VARCHAR, 0, 0, "Command", SKIP_OPEN_TABLE},
4619
4615
{"TIME", 7, DRIZZLE_TYPE_LONGLONG, 0, 0, "Time", SKIP_OPEN_TABLE},
4620
{"STATE", 64, DRIZZLE_TYPE_STRING, 0, 1, "State", SKIP_OPEN_TABLE},
4621
{"INFO", PROCESS_LIST_INFO_WIDTH, DRIZZLE_TYPE_STRING, 0, 1, "Info",
4616
{"STATE", 64, DRIZZLE_TYPE_VARCHAR, 0, 1, "State", SKIP_OPEN_TABLE},
4617
{"INFO", PROCESS_LIST_INFO_WIDTH, DRIZZLE_TYPE_VARCHAR, 0, 1, "Info",
4622
4618
SKIP_OPEN_TABLE},
4623
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4619
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4627
4623
ST_FIELD_INFO plugin_fields_info[]=
4629
{"PLUGIN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, "Name",
4631
{"PLUGIN_VERSION", 20, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
4632
{"PLUGIN_STATUS", 10, DRIZZLE_TYPE_STRING, 0, 0, "Status", SKIP_OPEN_TABLE},
4633
{"PLUGIN_TYPE", 80, DRIZZLE_TYPE_STRING, 0, 0, "Type", SKIP_OPEN_TABLE},
4634
{"PLUGIN_LIBRARY", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 1, "Library",
4636
{"PLUGIN_AUTHOR", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4637
{"PLUGIN_DESCRIPTION", 65535, DRIZZLE_TYPE_STRING, 0, 1, 0, SKIP_OPEN_TABLE},
4638
{"PLUGIN_LICENSE", 80, DRIZZLE_TYPE_STRING, 0, 1, "License", SKIP_OPEN_TABLE},
4639
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4625
{"PLUGIN_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, "Name",
4627
{"PLUGIN_VERSION", 20, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE},
4628
{"PLUGIN_STATUS", 10, DRIZZLE_TYPE_VARCHAR, 0, 0, "Status", SKIP_OPEN_TABLE},
4629
{"PLUGIN_TYPE", 80, DRIZZLE_TYPE_VARCHAR, 0, 0, "Type", SKIP_OPEN_TABLE},
4630
{"PLUGIN_LIBRARY", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, "Library",
4632
{"PLUGIN_AUTHOR", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4633
{"PLUGIN_DESCRIPTION", 65535, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, SKIP_OPEN_TABLE},
4634
{"PLUGIN_LICENSE", 80, DRIZZLE_TYPE_VARCHAR, 0, 1, "License", SKIP_OPEN_TABLE},
4635
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4642
4638
ST_FIELD_INFO referential_constraints_fields_info[]=
4644
{"CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4645
{"CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4647
{"CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4649
{"UNIQUE_CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0,
4651
{"UNIQUE_CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4653
{"UNIQUE_CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0,
4640
{"CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4641
{"CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4643
{"CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4645
{"UNIQUE_CONSTRAINT_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0,
4647
{"UNIQUE_CONSTRAINT_SCHEMA", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4649
{"UNIQUE_CONSTRAINT_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0,
4654
4650
MY_I_S_MAYBE_NULL, 0, OPEN_FULL_TABLE},
4655
{"MATCH_OPTION", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4656
{"UPDATE_RULE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4657
{"DELETE_RULE", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4658
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4659
{"REFERENCED_TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0,
4651
{"MATCH_OPTION", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4652
{"UPDATE_RULE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4653
{"DELETE_RULE", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4654
{"TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4655
{"REFERENCED_TABLE_NAME", NAME_CHAR_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0,
4660
4656
OPEN_FULL_TABLE},
4661
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE}
4657
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, SKIP_OPEN_TABLE}
4665
4661
ST_FIELD_INFO parameters_fields_info[]=
4667
{"SPECIFIC_CATALOG", FN_REFLEN, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4668
{"SPECIFIC_SCHEMA", NAME_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4669
{"SPECIFIC_NAME", NAME_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4663
{"SPECIFIC_CATALOG", FN_REFLEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4664
{"SPECIFIC_SCHEMA", NAME_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4665
{"SPECIFIC_NAME", NAME_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4670
4666
{"ORDINAL_POSITION", 21 , DRIZZLE_TYPE_LONG, 0, 0, 0, OPEN_FULL_TABLE},
4671
{"PARAMETER_MODE", 5, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4672
{"PARAMETER_NAME", NAME_LEN, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4673
{"DATA_TYPE", NAME_LEN, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4667
{"PARAMETER_MODE", 5, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4668
{"PARAMETER_NAME", NAME_LEN, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4669
{"DATA_TYPE", NAME_LEN, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4674
4670
{"CHARACTER_MAXIMUM_LENGTH", 21 , DRIZZLE_TYPE_LONG, 0, 1, 0, OPEN_FULL_TABLE},
4675
4671
{"CHARACTER_OCTET_LENGTH", 21 , DRIZZLE_TYPE_LONG, 0, 1, 0, OPEN_FULL_TABLE},
4676
4672
{"NUMERIC_PRECISION", 21 , DRIZZLE_TYPE_LONG, 0, 1, 0, OPEN_FULL_TABLE},
4677
4673
{"NUMERIC_SCALE", 21 , DRIZZLE_TYPE_LONG, 0, 1, 0, OPEN_FULL_TABLE},
4678
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4679
{"COLLATION_NAME", 64, DRIZZLE_TYPE_STRING, 0, 1, 0, OPEN_FULL_TABLE},
4680
{"DTD_IDENTIFIER", 65535, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4681
{"ROUTINE_TYPE", 9, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
4682
{0, 0, DRIZZLE_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE}
4674
{"CHARACTER_SET_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4675
{"COLLATION_NAME", 64, DRIZZLE_TYPE_VARCHAR, 0, 1, 0, OPEN_FULL_TABLE},
4676
{"DTD_IDENTIFIER", 65535, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4677
{"ROUTINE_TYPE", 9, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE},
4678
{0, 0, DRIZZLE_TYPE_VARCHAR, 0, 0, 0, OPEN_FULL_TABLE}