Changes between Initial Version and Version 1 of Ticket #24040
- Timestamp:
- Dec 22, 2014, 9:15:12 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24040
- Property Summary _meta.db_name malformed when >30char → _meta.db_table malformed in SQL statement when >31char
-
Ticket #24040 – Description
initial v1 1 1 I cant imagine this is not a known issue, but I havent been able to find it. Please show me the duplicate if there is one. 2 2 3 If I create a model (django dev, oracle 11.2 backend), the sql statement is distorted if the db_ name is over 31 characters. Almost like a buffer overflow:3 If I create a model (django dev, oracle 11.2 backend), the sql statement is distorted if the db_table is over 31 characters. Almost like a buffer overflow: 4 4 5 5 GOOD: 6 6 7 _meta.db_ name='variant_owr\".\"biomaterial_type'7 _meta.db_table='variant_owr\".\"biomaterial_type' 8 8 {{{ 9 9 DEBUG (0.003) QUERY = u'SELECT COUNT(:arg0) AS "__COUNT" FROM "VARIANT_OWR"."BIOMATERIAL_TYPE"' - PARAMS = (u'*',); args=('*',) … … 11 11 BAD: 12 12 13 _meta.db_ name='variant_ownr\".\"biomaterial_type'13 _meta.db_table='variant_ownr\".\"biomaterial_type' 14 14 {{{ 15 15 DEBUG (0.002) QUERY = u'SELECT COUNT(:arg0) AS "__COUNT" FROM "VARIANT_OWNR"."BIOMATERIAL92C0"' - PARAMS = (u'*',); args=('*',)