"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/auth/SecurityDatabase/LegacyServer.cpp" between
Firebird-3.0.2.32703-0.tar.bz2 and Firebird-3.0.4.33054-0.tar.bz2

About: Firebird is a relational database offering many ANSI SQL standard features.

LegacyServer.cpp  (Firebird-3.0.2.32703-0.tar.bz2):LegacyServer.cpp  (Firebird-3.0.4.33054-0.tar.bz2)
skipping to change at line 298 skipping to change at line 298
// Perhaps build up a dpb // Perhaps build up a dpb
ClumpletWriter dpb(ClumpletReader::Tagged, MAX_DPB_SIZE, isc_dpb_version1 ); ClumpletWriter dpb(ClumpletReader::Tagged, MAX_DPB_SIZE, isc_dpb_version1 );
// Attachment is for the security database // Attachment is for the security database
dpb.insertByte(isc_dpb_sec_attach, TRUE); dpb.insertByte(isc_dpb_sec_attach, TRUE);
// Attach as SYSDBA // Attach as SYSDBA
dpb.insertString(isc_dpb_trusted_auth, SYSDBA_USER_NAME, fb_strlen(SYSDBA _USER_NAME)); dpb.insertString(isc_dpb_trusted_auth, SYSDBA_USER_NAME, fb_strlen(SYSDBA _USER_NAME));
// Do not use other providers except current engine // Do not use other providers except current engine
const char* providers = "Providers=" CURRENT_ENGINE; dpb.insertString(isc_dpb_config, EMBEDDED_PROVIDERS, fb_strlen(EMBEDDED_P
dpb.insertString(isc_dpb_config, providers, fb_strlen(providers)); ROVIDERS));
isc_db_handle tempHandle = 0; isc_db_handle tempHandle = 0;
isc_attach_database(status, 0, secureDbName, &tempHandle, isc_attach_database(status, 0, secureDbName, &tempHandle,
dpb.getBufferLength(), reinterpret_cast<const char*>(dpb.getBuffe r())); dpb.getBufferLength(), reinterpret_cast<const char*>(dpb.getBuffe r()));
checkStatus("isc_attach_database", isc_psw_attach); checkStatus("isc_attach_database", isc_psw_attach);
lookup_db = tempHandle; lookup_db = tempHandle;
isc_compile_request(status, &lookup_db, &lookup_req, sizeof(PWD_REQUEST), isc_compile_request(status, &lookup_db, &lookup_req, sizeof(PWD_REQUEST),
reinterpret_cast<const char*>(PWD_REQUEST)); reinterpret_cast<const char*>(PWD_REQUEST));
if (status[1]) if (status[1])
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)