psDBGenerateCreateTableSQL() incorrectly handles most "META" types
Similar to bug #345, this function mishandles non-numeric types. A
'PS_META_VEC'/etc. does not map to an SQL vachar.
} else if ((item->type == PS_META_STR) | (item->type ==
|
(item->type == PS_META_IMG) | (item->type ==
|
(item->type == PS_META_LOOKUPTABLE) | (item->type ==
|
(item->type == PS_META_PNG) | (item->type ==
|
(item->type == PS_META_UNKNOWN) | (item->type ==
|
PS_TYPE_PTR)) {
+ column name + _ + varchar( + length + )
psStringAppend(&query, "%s VARCHAR(%s)", item->name, item->data.V);
} else {
Change History
(4)
| Owner: |
changed from robert.desonia@… to aaron.culliney@…
|
| Resolution: |
→ fixed
|
| Status: |
new → closed
|
| Keywords: |
VERIFIED removed
|
I believe this is now fixed.