Kwebble : Blog

Archief van april 2008

  • MySQL STRICT_TRANS_TABLES mode and truncated text values

    Gepubliceerd op 20 april 2008 in Programming.

    I just upgraded Apache, PHP and MySQL to their current versions on my development system. After that a unit test of one of my PHP classes failed on inserting a row in a MySQL table. The test inserts text with a greater length than the maximum column length of a VARCHAR column.

    This test fails because the new server runs with STRICT_TRANS_TABLES mode. It means that a inserted value must be equal to the stored value or the statement fails. Without the mode setting the inserted value is truncated to the column’s maximum length.

    • mysql
    • php
    • test
    • tip
  • Verkeersbordententoonstelling

    Gepubliceerd op 3 april 2008 in Foto's.

    Straat met auto’s en er langs een grote verzameling verkeersborden. Aan 1 paal hangen 5 borden die de rijrichting aangeven, laten weten wanneer die geldig is, waarschuwen voor overstekende voetgangers en een zijweg plus de mededeling dat de verkeerssituatie gewijzigd is. Deze verzameling borden staat bij de Cronjé, die sinds afgelopen weekend overdag voetgangersgebied is.

    • haarlem
    • road sign
    • verkeersbord
  • Rubrieken

    • Artikelen
    • Foto's
    • Links
    • Media
    • Overheid
    • Programming
  • Recente Berichten

    • Stanford Web Applications course lectures
    • The importance of knowing Unicode
    • “If you are not paying for it, you’re not the customer; you’re the product being sold.”
    • Inzage in je gegevens bij Facebook
    • Tuning Oracle UCM 11 & Site Studio performance
  • Abonneren

    • Atom feed Artikelen
    • Atom feed Reacties
  • Archief

© Rob Schlüter - Contact