Take into account database errors.

User and Node id are integer_64.
Fixed sql_read_string
This commit is contained in:
2015-01-21 17:25:46 +01:00
parent a074a57d62
commit 4aa9c1e097
11 changed files with 53 additions and 13 deletions

View File

@@ -31,6 +31,7 @@ feature {NONE} -- Initialization
create {DATABASE_HANDLER_IMPL} db_handler.make (a_connection)
create error_handler.make
-- error_handler.add_synchronization (db_handler.database_error_handler)
end
db_handler: DATABASE_HANDLER
@@ -43,7 +44,7 @@ feature -- Access: user
sql_post_execution
-- Post database execution.
do
-- error_handler.add_synchronization (db_handler.database_error_handler)
error_handler.append (db_handler.database_error_handler)
if error_handler.has_error then
log.write_critical (generator + ".post_execution " + error_handler.as_string_representation)
end