updated fake mysql storage.

This commit is contained in:
2017-03-03 11:19:46 +01:00
parent 79df423c7a
commit b62d42db07
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
note
description: "Summary description for {CMS_STORAGE_STORE_MYSQL}."
date: "$Date$"
revision: "$Revision$"
class
CMS_STORAGE_STORE_MYSQL
inherit
CMS_STORAGE_STORE_NULL
create
make
feature
make
do
default_create
end
end -- class CMS_STORAGE_STORE_MYSQL

View File

@@ -0,0 +1,31 @@
note
description: "[
Interface responsible to instantiate CMS_STORAGE_STORE_MYSQL object.
]"
author: "$Author$"
date: "$Date$"
revision: "$Revision$"
class
CMS_STORAGE_STORE_MYSQL_BUILDER
inherit
CMS_STORAGE_STORE_SQL_BUILDER
create
make
feature {NONE}
make
do
end
feature
storage (a_setup: CMS_SETUP; a_error_handler: ERROR_HANDLER): detachable CMS_STORAGE_STORE_MYSQL
do
a_error_handler.add_custom_error (0, "Could not connect to the MySQL storage", Void)
end
end -- class CMS_STORAGE_STORE_MYSQL_BUILDER