In InitGeoDB, the geometry_columns table is created with the following column order:
f_table_name, f_geometry_column, coord_dimension, srid, type
However, in AddGeometryColumn, new entries are inserted with the srid and coord_dimension columns switched, so that the SRID ends up in the dimension column, and vice-versa.
In InitGeoDB, the geometry_columns table is created with the following column order: f_table_name, f_geometry_column, coord_dimension, srid, type
However, in AddGeometryColumn, new entries are inserted with the srid and coord_dimension columns switched, so that the SRID ends up in the dimension column, and vice-versa.