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
inherit
CMS_STORAGE_STORE_NULL
CMS_STORAGE_NULL
create
make

View File

@@ -6,26 +6,31 @@ note
date: "$Date$"
revision: "$Revision$"
class
class
CMS_STORAGE_STORE_MYSQL_BUILDER
inherit
CMS_STORAGE_STORE_SQL_BUILDER
CMS_STORAGE_NULL_BUILDER
redefine
storage
end
create
create
make
feature {NONE}
feature {NONE}
make
do
end
feature
storage (a_setup: CMS_SETUP; a_error_handler: ERROR_HANDLER): detachable CMS_STORAGE_STORE_MYSQL
feature
storage (a_setup: CMS_SETUP; a_error_handler: ERROR_HANDLER): detachable CMS_STORAGE_NULL
-- CMS Storage object based on CMS setup `a_setup`.
do
a_error_handler.add_custom_error (0, "Could not connect to the MySQL storage", Void)
end
end -- class CMS_STORAGE_STORE_MYSQL_BUILDER