# McoSqlOpenParameters:setDefaultValues

> Initialize the properties of this instance of McoSqlOpenParameters with default values.

> ### For an overview see page McoSqlOpenParameters

> The code snippet below shows how McoSqlOpenParameters default values are set:

>         void McoSqlOpenParameters::setDefaultValues()
>         {
>             databaseName = NULL;
>             dictionary = NULL;
>             mainMemoryDatabaseSize = 0;
>             mainMemoryDatabaseAddress = MCO_DATABASE_DEFAULT_MAP_ADDRESS;
>             maxTransactionSize = 0;
>             maxConnections = 100;
>             mainMemoryPageSize = 128;
>             hashLoadFactor = 100;
>             flags = DEFAULT_OPEN_FLAGS;
>             modeMask = 0;
>             savedImage = NULL;
>             diskDatabaseFile = NULL;
>             diskDatabaseLogFile = NULL;
>             diskDatabaseMaxSize = MCO_INFINITE_DATABASE_SIZE;
>             diskCacheMemoryAddress = 0;
>             diskCacheSize = 0;
>             diskPageSize = 4096;
>             streamReader = NULL;
>             stream = NULL;
>             remoteEngine = NULL;
>             redoLogLimit = MCO_DEFAULT_REDO_LOG_LIMIT;
>             logType = REDO_LOG;
>             defaultCommitPolicy = MCO_COMMIT_SYNC_FLUSH;
>             transSchedPolicy = MCO_SCHED_FIFO;
>             devices = NULL;
>             n_devices = 0;
>             tables = NULL;
>             n_tables = 0;
>             maxClasses = 0;
>             maxIndexes = 0;
>             maxDictionarySize = 0;
>             dictionaryFlags = MCO_DICT_FLAGS_USE_AUTOOID | MCO_DICT_FLAGS_PRESERVE_FIELDS_ORDER;
>             maxTransTime = 0;
>             maxActivePages = 32;
>             compressionLevel = -1;
>             backupMapSize   = 0;
>             backupMinPages  = 0;
>             backupMaxPasses = 10;
>             backupMapFile   = NULL;
>         }