SELECTwritten_rowsFROMsystem.query_logWHEREqueryLIKE'INSERT INTO /* test 01413, query 1 */ rows_events_test%'ANDtype=2ANDevent_date>=yesterday()ORDERBYevent_timeDESCLIMIT1;
WHEREProfileEvents.Names='InsertedRows'ANDqueryLIKE'INSERT INTO /* test 01413, query 1 */ rows_events_test%'ANDtype=2ANDevent_date>=yesterday()ORDERBYevent_timeDESCLIMIT1;
INSERTINTO/* test 01413, query 2 */rows_events_testVALUES(2,2),(3,3);
SELECTwritten_rowsFROMsystem.query_logWHEREqueryLIKE'INSERT INTO /* test 01413, query 2 */ rows_events_test%'ANDtype=2ANDevent_date>=yesterday()ORDERBYevent_timeDESCLIMIT1;
WHEREProfileEvents.Names='InsertedRows'ANDqueryLIKE'INSERT INTO /* test 01413, query 2 */ rows_events_test%'ANDtype=2ANDevent_date>=yesterday()ORDERBYevent_timeDESCLIMIT1;
SELECT*FROM/* test 01413, query 3 */rows_events_testWHEREv=2;
SELECTread_rowsFROMsystem.query_logWHEREqueryLIKE'SELECT * FROM /* test 01413, query 3 */ rows_events_test%'ANDtype=2ANDevent_date>=yesterday()ORDERBYevent_timeDESCLIMIT1;
WHEREProfileEvents.Names='SelectedRows'ANDqueryLIKE'SELECT * FROM /* test 01413, query 3 */ rows_events_test%'ANDtype=2ANDevent_date>=yesterday()ORDERBYevent_timeDESCLIMIT1;