[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] [gallery/gallery3] 85637a: Fix a bug introduced
From:       noreply () github ! com
Date:       2010-09-24 3:45:38
Message-ID: 20100924034538.7CF6042340 () smtp1 ! rs ! github ! com
[Download RAW message or body]

Branch: refs/heads/master
Home:   http://github.com/gallery/gallery3

Commit: 85637a08265cbfef3cc615724b22195439f5afa5
    http://github.com/gallery/gallery3/commit/85637a08265cbfef3cc615724b22195439f5afa5
Author: Bharat Mediratta <bharat@menalto.com>
Date:   2010-09-23 (Thu, 23 Sep 2010)

Changed paths:
  M modules/gallery/models/item.php

Log Message:
-----------
Fix a bug introduced recently in
f84c4a6192ea0e47ca5b2006baa0bfd7e09a682c where we were generating bad
SQL.  If we're checking for a conflict on a new item, the id is null
and we were doing a comparison that resulted in "id <> NULL" which
won't work -- in that case we need "id IS NOT NULL".

Fixes #1393.



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic