developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#1138 closed bug (fixed)

issues with quotes with PDO drivers

Reported by: Zeffyr Owned by:
Priority: high Milestone: Jelix 1.2RC1
Component: jelix:db Version: trunk
Severity: blocker Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Le driver PDO semble ne plus fonctionner sur le trunk. La méthode quote2 semble doubler les quotes (') provoquant des erreurs du SGBD (essayé qu'avec MySQL) au niveau de la chaine de caractères de la requete SQl.

En remplaçant quote2 par quote dans les fichiers doa du cache, les quote ne sont plus doublés. En mettant le driver mysql à la place de pdo dans le dbprofil il n'y a également plus d'erreur.

Change History (2)

comment:1 Changed 11 years ago by laurentj

  • Component changed from jelix to jelix:db
  • Milestone set to Jelix 1.2
  • Severity changed from normal to blocker
  • Summary changed from PDO to issues with quotes with PDO drivers

comment:2 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.