Changes between Initial Version and Version 1 of Ticket #26468, comment 2
- Timestamp:
- Apr 5, 2016, 5:33:29 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26468, comment 2
initial v1 7 7 Expected output: 'value_from_field_1-value_from_field_2' 8 8 9 Instead I just got an invalid syntax sql error. 9 Instead I just got an invalid syntax sql error: 10 11 {{{ 12 django.db.utils.OperationalError: near ")": syntax error 13 }}} 14 15 Problem is that the empty Value('') creates something like this for sqlite: 16 17 {{{ 18 COALESCE("A", ) 19 }}} 20 21 which is not valid for sqlite: 22 23 {{{ 24 sqlite> SELECT COALESCE("A", ); 25 Error: near ")": syntax error 26 }}}