mariadb/mysql-test/suite/ibmdb2i
Narayanan V ca3dbc91ed Bug#44610 RCDFMT clause requested when creating DB2 table
In order to better support the usage of
IBMDB2I tables from within RPG programs,
the storage engine should ensure that the
RCDFMT name is consistent and predictable
for DB2 tables.

This patch appends a "RCDFMT <name>"
clause to the CREATE TABLE statement
that is passed to DB2.  <name> is
generated from the original name of
the table itself. This ensures a
consistent and deterministic mapping
from the original table.

For the sake of simplicity only
the alpha-numeric characters are
preserved when generating the new
name, and these are upper-cased;
other characters are replaced with
an underscore (_). Following DB2
system identifier rules, the name
always begins with an alpha-character
and has a maximum of ten characters.
If no usable characters are found in
the table name, the name X is used.
2009-05-17 21:55:23 +05:30
..
include Bug#44232 Error msg should be improved when collation not supported. 2009-05-14 16:05:09 +05:30
r Bug#44610 RCDFMT clause requested when creating DB2 table 2009-05-17 21:55:23 +05:30
t Bug#44610 RCDFMT clause requested when creating DB2 table 2009-05-17 21:55:23 +05:30