From 1487434f5ded58b9034c895a6ec43c7d0fb93cad Mon Sep 17 00:00:00 2001 From: trochas Date: Mon, 9 Dec 2024 10:30:18 +0100 Subject: [PATCH] =?UTF-8?q?bug=20de=20Minh=20corrig=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MonetDB.py | 4 +--- main.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/MonetDB.py b/MonetDB.py index 64b8376..3fbdff8 100644 --- a/MonetDB.py +++ b/MonetDB.py @@ -97,9 +97,7 @@ def requete_monetdb(str): connect=connect_monetdb() with connect[0] as conn: with connect[1] as cursor: - cursor.execute(peuplementAirports) - cursor.execute(peuplementAirlines) - cursor.execute(peuplementFlights) + cursor.execute(str) conn.commit() cursor.close() conn.close() diff --git a/main.py b/main.py index 22cbd09..5e82fca 100644 --- a/main.py +++ b/main.py @@ -35,7 +35,7 @@ def initMonetDB(): start_time = time.time() create_table_monetdb() end_time = time.time() - print("[MonetDB] creat table: time = ", (end_time - start_time), "s") + print("[MonetDB] create table: time = ", (end_time - start_time), "s") start_time = time.time() load_data_monetdb()