rabin %!s(int64=7) %!d(string=hai) anos
pai
achega
3fcee4bfbb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()