diff options
Diffstat (limited to 'libcommon/common/common.cxx')
-rw-r--r-- | libcommon/common/common.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libcommon/common/common.cxx b/libcommon/common/common.cxx index 66a629f..8be7631 100644 --- a/libcommon/common/common.cxx +++ b/libcommon/common/common.cxx @@ -141,3 +141,15 @@ create_database (int& argc, return db; } + +bool +size_available () +{ +#if defined(DATABASE_SQLITE) || \ + defined(DATABASE_ORACLE) || \ + defined(DATABASE_MSSQL) + return false; +#else + return true; +#endif +} |