Skip to content

Commit df27e62

Browse files
committed
Better error message
1 parent 2e18929 commit df27e62

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/include/firebird/impl/msg/jrd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,3 +1005,4 @@ FB_IMPL_MSG(JRD, 1002, argmustbe_numeric_function, -833, "42", "000", "Argument
10051005
FB_IMPL_MSG(JRD, 1003, percetile_only_one_sort_item, -833, "42", "000", "The PERCENTILE_DISC and PERENTILE_CONT functions support only one sort item in WITHIN GROUP")
10061006
FB_IMPL_MSG(JRD, 1004, argmustbe_const_within_group, -833, "42", "000", "Argument for @1 function must be constant within each group")
10071007
FB_IMPL_MSG(JRD, 1005, update_overwrite, -901, "27", "000", "UPDATE will overwrite changes made by the trigger or by the another UPDATE in the same cursor")
1008+
FB_IMPL_MSG(JRD, 1006, pman_plugin_dirname, -901, "00", "000", "Plugin @1 can not be loaded - name should not contain directory separator and path component")

src/include/gen/Firebird.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5962,6 +5962,7 @@ IPerformanceStatsImpl = class(IPerformanceStats)
59625962
isc_percetile_only_one_sort_item = 335545323;
59635963
isc_argmustbe_const_within_group = 335545324;
59645964
isc_update_overwrite = 335545325;
5965+
isc_pman_plugin_dirname = 335545326;
59655966
isc_gfix_db_name = 335740929;
59665967
isc_gfix_invalid_sw = 335740930;
59675968
isc_gfix_incmp_sw = 335740932;

src/yvalve/PluginManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ namespace
784784
PathName path, file;
785785
PathUtils::splitLastComponent(path, file, pluginName);
786786
if (path.hasData())
787-
(Arg::Gds(isc_random) << "Plugin name should not contain directory separator and path component").raise();
787+
(Arg::Gds(isc_pman_plugin_dirname) << pluginName).raise();
788788

789789
// define default values for plugin ...
790790
curModule = fb_utils::getPrefix(IConfigManager::DIR_PLUGINS, pluginName);

0 commit comments

Comments
 (0)