我正在使用Sphinx RT索引和MySQL DB,我现在遇到的问题是我需要数据保持一致,并且在它们上使用常规插入不是正确的方法,因为我可能会得到错误的索引数据或错误的数据库数据。假设您在MySQL DB中有以下表1, test is testid, textfeeling goodnice whether U
我需要更新一列,并根据旧值,更新第二列。 1 | 1* | 1 | 1 | 5* | 1 | 1 |它正确地执行第一行(将b1更新为5),但不执行第二行,即设置mysql手册指出:
The second assignment in the following statement sets col2 to the cu