updated fake mysql storage
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user