Changeset 1287

Show
Ignore:
Timestamp:
09/02/2005 03:30:58 PM (3 years ago)
Author:
ckruse
Message:

bugfix for order of comments

Location:
block/trunk/src/modules
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • block/trunk/src/modules/mod_mysql.c

    r1274 r1287  
    938938  } 
    939939 
     940  str_cstr_append(&query," ORDER BY date DESC"); 
     941 
    940942  if((ret = mysql_real_query(mod_mysql_dbh,query.content,query.len)) != 0) { 
    941943    fprintf(stderr,"[%s:%d] mysql_real_query(%s): %s\n",__FILE__,__LINE__,query.content,mysql_error(mod_mysql_dbh)); 
  • block/trunk/src/modules/mod_pgsql.c

    r1268 r1287  
    975975    u_int32_to_str(&query,limit); 
    976976  } 
     977 
     978  str_cstr_append(&query," ORDER BY date DESC"); 
    977979 
    978980  if((res = PQexec(mod_pgsql_conn,query.content)) == NULL) {