RSSAmplifier

tom.vg | Blog · Apr 7, 2013

Implicit type conversion in MySQL

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

In some languages, using arithmetic operators on elements that aren’t numeric, give some weird results. In JavaScript for example, [ ] + { } is an Object, while { } + [ ] appears to be NaN. If these kind of obscure actions occur in a parser that is counted on to be very reliable, things can go bad real quickly. Let’s look at how MySQL behaves… Trying to add two integers in MySQL will result in an…

Read on tom.vg

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.