updated fake mysql storage

This commit is contained in:
2017-03-03 13:21:02 +01:00
parent 18424e6db7
commit 8212a393b8
2 changed files with 14 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ class
CMS_STORAGE_STORE_MYSQL CMS_STORAGE_STORE_MYSQL
inherit inherit
CMS_STORAGE_STORE_NULL CMS_STORAGE_NULL
create create
make make

View File

@@ -10,7 +10,10 @@ class
CMS_STORAGE_STORE_MYSQL_BUILDER CMS_STORAGE_STORE_MYSQL_BUILDER
inherit inherit
CMS_STORAGE_STORE_SQL_BUILDER CMS_STORAGE_NULL_BUILDER
redefine
storage
end
create create
make make
@@ -23,9 +26,11 @@ feature {NONE}
feature feature
storage (a_setup: CMS_SETUP; a_error_handler: ERROR_HANDLER): detachable CMS_STORAGE_STORE_MYSQL storage (a_setup: CMS_SETUP; a_error_handler: ERROR_HANDLER): detachable CMS_STORAGE_NULL
-- CMS Storage object based on CMS setup `a_setup`.
do do
a_error_handler.add_custom_error (0, "Could not connect to the MySQL storage", Void) a_error_handler.add_custom_error (0, "Could not connect to the MySQL storage", Void)
end end
end -- class CMS_STORAGE_STORE_MYSQL_BUILDER end -- class CMS_STORAGE_STORE_MYSQL_BUILDER