0
我正在使用python和mysql,我想驗證某個條目是否在數據庫中被壓縮。即:MySql:如何知道一個條目是否被壓縮
cur = db.getCursor()
cur.execute('''select compressed_column from table where id=12345''')
res = cur.fetchall()
在這一點上,我想驗證該條目被壓縮(即以與數據工作你將不得不使用select uncompress(compressed_column)..
)。想法?
你在同一列混合壓縮和非壓縮數據?聽起來對我來說是一個壞主意... – 2010-04-04 14:23:49
我只測試不db-ing。我同意,這是一個非常糟糕的主意 – Guy 2010-04-04 14:35:06