|
|
| version 1.258, 2009/06/14 00:33:36 | version 1.259, 2009/06/20 01:55:01 |
|---|---|
| Line 1047 public: | Line 1047 public: |
| columns(*new ArrayString), row(0), table(0) { | columns(*new ArrayString), row(0), table(0) { |
| } | } |
| bool add_column(SQL_Error& error, const char *str, size_t) { | bool add_column(SQL_Error& error, const char *str, size_t length) { |
| try { | try { |
| columns+=new String(str, String::L_TAINTED); | columns+=new String(str, String::L_TAINTED, length); |
| return false; | return false; |
| } catch(...) { | } catch(...) { |
| error=SQL_Error("exception occured in Table_sql_event_handlers::add_column"); | error=SQL_Error("exception occured in Table_sql_event_handlers::add_column"); |
| Line 1075 public: | Line 1075 public: |
| return true; | return true; |
| } | } |
| } | } |
| bool add_row_cell(SQL_Error& error, const char* str, size_t) { | bool add_row_cell(SQL_Error& error, const char* str, size_t length) { |
| try { | try { |
| *row+=new String(str, String::L_TAINTED); | *row+=new String(str, String::L_TAINTED, length); |
| return false; | return false; |
| } catch(...) { | } catch(...) { |
| error=SQL_Error("exception occured in Table_sql_event_handlers::add_row_cell"); | error=SQL_Error("exception occured in Table_sql_event_handlers::add_row_cell"); |