Code fragment
$application->Conn->GetRow('SELECT Name FROM ' . TABLE_PREFIX . 'AdminSkins'); $application->Conn->doInsert(array('Name' => 'tmp-name'), TABLE_PREFIX . 'AdminSkins'); die('insert_id: ' . $application->Conn->getInsertID());
- in IDE:
- open /index.php file for editing
- after $application->Init(); line add code shown above test plan
- save changes
- change /system/config.php file to enable support for load balancing (see example in http://community.in-portal.org/x/Npkk and you can use same server as both slave & master)
- in Web Browser
- open Front-End
- confirm, that insert_id: X is displayed, where X is a positive non-zero integer