You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not: Blog yazısı yazılacak.
trans_status kullanımı hatalı sürekli "true" dönüyor. Bu durumda _mysqli->info içinde gelen string ifade parse edilerek bir sonuç üretilir yada prosedür yazılır. Örn:
BEGIN
SET @prevNote = NULL;
UPDATE mobi_kitapyurdu_test.mylib_libproduct ml SET ml.note = IF(@prevNote := ml.note, _note, _note)
WHERE ml.libproduct_id = _libproduct_id AND ml.customer_id = _customer_id;
IF @prevNote = _note THEN
SELECT 1 AS affected_rows;
ELSE
SELECT ROW_COUNT() AS affected_rows;
END IF;
END
The text was updated successfully, but these errors were encountered:
mysqli->info string bilgisi özel string parse yapılarak sorgu hakkında elde edilen bilgi isChangedRows() metodu içinde kontrol edildi. Kayıt eşleşmiş fakat güncelleme olmamış ise yani formdaki veriler aynı gelmiş ve mysql kayıtlar güncel olduğu için update işlemi yapmamışsa bu metod true döner.
Not: Blog yazısı yazılacak.
trans_status kullanımı hatalı sürekli "true" dönüyor. Bu durumda _mysqli->info içinde gelen string ifade parse edilerek bir sonuç üretilir yada prosedür yazılır. Örn:
BEGIN
END
The text was updated successfully, but these errors were encountered: