rabin hace 7 años
padre
commit
3fcee4bfbb
Se han modificado 1 ficheros con 1 adiciones y 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()