rabin пре 7 година
родитељ
комит
3fcee4bfbb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      jupyter-mysql-kernel/kernel.py

+ 1 - 1
jupyter-mysql-kernel/kernel.py

@@ -109,7 +109,7 @@ class MysqlKernel(Kernel):
 					if v[0] == "#":
 						continue
 					self.execute(v)
-					if 'select' in v or 'show' in v:
+					if 'select' in v or 'show' in v or 'explain' in v or 'desc' in v:
 						output = self.fetchall()
 					else:
 						self.commit()