KBD

Keith Devens .com

Friday, January 9, 2009 Flag waving
A charlatan makes obscure what is clear; a thinker makes clear what is obscure. – Hugh Kingsmill
← Best pratices for ASP.NETFree intro-to-physics textbook(s) →

Daily link icon Thursday, August 1, 2002

Categories

I finally took a few minutes and completed the category support for my weblog. Everything was there except for the part that actually added the categories when I created or updated an entry.

Oh, son of the monster... MySQL's REPLACE command isn't smart enough to use a multi-column primary key to figure out whether to replace or insert. This has got to be a bug.

Oh duh, it is a bug, but it's my bug. Glad to know. I had an extra UNIQUE index that shouldn't have been there, in retrospect. That's what MySQL was keying off of for the REPLACE. There we go, now it works right. Silly me.

← Best pratices for ASP.NETFree intro-to-physics textbook(s) →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

January 2009
SunMonTueWedThuFriSat
 123
45678910
11121314151617
18192021222324
25262728293031



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 3 posts

Recent comments XML

The Elegant Universe

Well I have finally found the crazy​guy that preaches useless nonsence​in A...

Joseph Baxter: Jan 7, 11:07pm

I hate Norton Antivirus


SYMANTEC is very​cunning..
Symantec now have a​redeemable cash back offe...

CAN: Jan 4, 6:25pm

Spider solitaire

Hi everyone!

Glad to have found​this site.  I have enjoyed reading​the c...

flwrchld53: Jan 4, 5:30pm

Generated in about 0.197s.

(Used 8 db queries)

mobile phone