|
|
| version 1.183, 2003/09/25 09:15:02 | version 1.184, 2003/09/29 09:58:29 |
|---|---|
| Line 601 static void _locate(Request& r, MethodPa | Line 601 static void _locate(Request& r, MethodPa |
| static void _flip(Request& r, MethodParams& params) { | static void _flip(Request& r, MethodParams& params) { |
| Table& old_table=GET_SELF(r, VTable).table(); | Table& old_table=GET_SELF(r, VTable).table(); |
| Table& new_table=*new Table(old_table.columns()); | Table& new_table=*new Table(0); |
| if(size_t old_count=old_table.count()) | if(size_t old_count=old_table.count()) |
| if(size_t old_cols=old_table[0]->count()) | if(size_t old_cols=old_table[0]->count()) |
| for(size_t column=0; column<old_cols; column++) { | for(size_t column=0; column<old_cols; column++) { |