Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1562

Problem with SET types with cluster (2 replies)

$
0
0
This is my table:

CREATE TABLE `PULL_promotionOutput` (
`id_promotion` mediumint(8) NOT NULL AUTO_INCREMENT,
`promotionName` varchar(70) NOT NULL,
`promotionType` set('SMS','MMS-COUPON','WAP-COUPON','E-MAIL','WEBSERVICE') NOT NULL
PRIMARY KEY (`id_promotion`)
) ENGINE=ndbcluster


We use two engines one for develop and another one in production.
We have some problems with SET types with cluster, because it doesn't response any line.


MyISAM TABLE
SELECT * FROM PULL_promotionOutput WHERE promotionType LIKE "%WAP-COUPON%" (Ok)
SELECT * FROM PULL_promotionOutput WHERE promotionType = "WAP-COUPON" (Ok)

ndbcluster
SELECT * FROM PULL_promotionOutput WHERE promotionType LIKE "%WAP-COUPON%" (KO)
SELECT * FROM PULL_promotionOutput WHERE promotionType = "WAP-COUPON" (Ok)



thanks.

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>