# File lib/dbd/mysql/database.rb, line 285
285:         def []=(attr, value)
286:             case attr
287:             when 'AutoCommit'
288:                 if @have_transactions
289:                     self.do("SET AUTOCOMMIT=" + (value ? "1" : "0"))
290:                 else
291:                     raise NotSupportedError
292:                 end
293:             else
294:                 raise NotSupportedError
295:             end
296: 
297:             @attr[attr] = value
298:         end