We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6453c9 commit 1e55385Copy full SHA for 1e55385
1 file changed
_posts/2016-12-16-python-mysql-out-of-memory-killed.md
@@ -76,7 +76,9 @@ for row in cursor:
76
77
读文档光是仔细是不行了,要用心,[官方文档]明确的写了,
78
79
-> You MUST retrieve the entire result set and close() the cursor before additional queries can be peformed on the connection.
+{% highlight bash %}
80
+You MUST retrieve the entire result set and close() the cursor before additional queries can be peformed on the connection.
81
+{% endhighlight %}
82
83
原来是这个connection被神器占用了,那么好,单独再开一个connection,
84
于是代码变成了最终版如下:
0 commit comments