0

我有一个mst2创建最小生成树并MST使用多个值更新数据库中的表的过程。它适用于 WAMP,但当我尝试在实时服务器上导入它时表现得很疯狂。

目前,每次我重新加载表时,随机值都会出现在其中并且似乎会上下波动??我不知道是怎么回事。我什至没有调用该函数,但表格似乎在不断地动态调整。

我会发布我的代码,但它可能有点矫枉过正,它非常广泛。如果有人对可能导致这种情况的原因有一般的想法,请告诉我。

4

1 回答 1

0

The problem was the fact that I was referencing the table in lowercase as 'mst' in some parts of the code relying on the fact that MySQL isn't case sensitive. Apparently the server I was importing to (Linux) had MySQL configured to be case sensitive for table (and possibly column?) names, fixing the table name in the code from lower to upper solved the issue.

于 2012-12-22T15:56:24.300 回答