diff options
Diffstat (limited to 'database/sqlite/sqlite.c')
| -rw-r--r-- | database/sqlite/sqlite.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/database/sqlite/sqlite.c b/database/sqlite/sqlite.c index beb0b8e..f74b4d7 100644 --- a/database/sqlite/sqlite.c +++ b/database/sqlite/sqlite.c @@ -324,6 +324,10 @@ char *_build_sqlpart(int btyp, eDBfieldMap *map) { // Put the pieces together and append it to the final result val = _build_value_string(ptr); + if( ptr->table_alias != NULL ) { + append_str(buf, ptr->table_alias, 8192); + append_str(buf, ".", 8192); + } append_str(buf, ptr->field_name, 8192); append_str(buf, "=", 8192); append_str(buf, val, 8192); |
