摘要:
Spread 方法说明 Spreads (XORs) higher bits of hash to lower and also forces top bit to 0. 将哈希值的高位扩展(异或)到低位,并强制将高位 置为0. Because the table uses power-of-two 阅读全文
摘要:
在mysql中,可以执行不严格的group by 语句,可以得到看似正常的结果。 select c1,c2,c3,sum(c4) from table1 ; 此时,若再对多个结果进行 union all ,mysql会直接丢弃部分结果集,导致非常诡异的问题出现。 如 select c1,c2,c3, 阅读全文