Changeset 16367

Show
Ignore:
Timestamp:
05/12/08 15:41:33 (2 months ago)
Author:
piotras
Message:

Add required space and coma when adding ordering constraints

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/branch-1-8/src/core/midgard/src/midgard_core_query_builder.c

    r16366 r16367  
    231231 
    232232                /* Unfortunatelly we can not use QB's API and order method :( */         
    233                 g_string_append(sql, " ORDER BY midgard_fallback_language DESC"); 
     233                g_string_append(sql, " ORDER BY midgard_fallback_language DESC "); 
    234234        } 
    235235                         
     
    246246                        if(!multilang_fallback) 
    247247                                g_string_append(sql, " ORDER BY "); 
     248                        else  
     249                                g_string_append(sql, ", "); 
    248250                } 
    249251                MidgardQueryOrder *order = g_array_index(