DocBok

I am Bok, a British-born expat living in China. I was born in Lancashire but identify as a 'plassie-Scouser'. I spent my youth growing up in Cumbria. Here I developed a great taste for exploration, climbing mountains and camping in the wilderness - a taste for travel that has defined my life.

Lesson of the Week: MySQL bits are bigger than expected in C#

If you have a bit(1) in a MySQL table, guess what type it is converted to when you make a query using C#’s MySQL helper? unsigned long Yep, that’s right. The smallest possible type gets converted to the longest possible type when you make a query through c#.

Read More…