[adminer-tracker] [ adminer-Bugs and Features-3572781 ] Mazání/úpravy v tabulce s BINARY bez primárn
Database management in a single PHP file
Brought to you by:
jakubvrana
From: SourceForge.net <no...@so...> - 2012-09-28 14:55:16
|
Bugs and Features item #3572781, was opened at 2012-09-28 07:55 Message generated for change (Tracker Item Submitted) made by cernas You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1127745&aid=3572781&group_id=264133 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: MySQL Group: 3.6.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Peťan (cernas) Assigned to: Jakub Vrána (jakubvrana) Summary: Mazání/úpravy v tabulce s BINARY bez primárního klíče Initial Comment: Ahoj Jakube, máš-li tabulku, která obsahuje sloupec typu BINARY a neobsahuje žádný primární klíč, nelze záznamy mazat/upravovat. Pro zobrazení záznamů používáš funkci HEX() a výsledek pak použiješ pro podmínku v dotazu na mazání/úpravu. Pro tyto případy bys měl v podmínce použít UNHEX() a nepoužít COLLATE. Děkuji za opravu a za výborného pomocníka se správnou DB. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1127745&aid=3572781&group_id=264133 |