insertion

Частично работает следующее #define: #define OUT(x) if(x > 0) cout << "Hello "; if(x > 1) cout << x+1 OUT(1) << "message"; // OK if(0) { OUT(1) << "message"; // OK, nothing printed } if(0) OUT(1) << "message"; // NO, printed anyway Я понимаю...

Я пытаюсь выполнить следующую операцию вставки: cursor.execute(""" insert into tree (id,parent_id,level,description,code,start,end) values (%d,%d,%d,%s,%s,%f,%f) """, (1,1,1,'abc','def',1,1) ) структура моей таблицы MYSQL: id ...