List:Commits« Previous MessageNext Message »
From:U-ROWVWADEjas Date:May 22 2007 5:00pm
Subject:bk commit into 6.0-falcon tree (jas:1.2532)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of . When  does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-05-22 12:59:44-04:00, jas@rowvwade. +3 -0
  Adding new class FsbDerivedTable (included files this time).

  BitKeeper/etc/ignore@stripped, 2007-05-22 12:58:36-04:00, jas@rowvwade. +1 -0
    added .fl2

  BitKeeper/etc/ignore@stripped, 2007-05-22 12:58:33-04:00, jas@rowvwade. +1 -0
    added .fl1

  BitKeeper/etc/ignore@stripped, 2007-05-22 12:58:28-04:00, jas@rowvwade. +1 -0
    added .fts

  storage/falcon/FsbDerivedTable.cpp@stripped, 2007-05-22 12:59:38-04:00, jas@rowvwade. +56 -0
    New BitKeeper file ``storage/falcon/FsbDerivedTable.cpp''

  storage/falcon/FsbDerivedTable.cpp@stripped, 2007-05-22 12:59:38-04:00, jas@rowvwade. +0 -0

  storage/falcon/FsbDerivedTable.h@stripped, 2007-05-22 12:59:38-04:00, jas@rowvwade. +38 -0
    New BitKeeper file ``storage/falcon/FsbDerivedTable.h''

  storage/falcon/FsbDerivedTable.h@stripped, 2007-05-22 12:59:38-04:00, jas@rowvwade. +0 -0

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jas
# Host:	rowvwade.
# Root:	D:/MySQL/mysql-5.1-falcon
--- New file ---
+++ storage/falcon/FsbDerivedTable.cpp	07/05/22 12:59:38
/* Copyright (C) 2007 MySQL AB

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 of the License.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */


#include "Engine.h"
#include "FsbDerivedTable.h"
#include "NSelect.h"
#include "PrettyPrint.h"

FsbDerivedTable::FsbDerivedTable(NSelect *node)
{
	select = node;
}

FsbDerivedTable::~FsbDerivedTable(void)
{
}

void FsbDerivedTable::open(Statement* statement)
{
	select->stream->open(statement);
}

Row* FsbDerivedTable::fetch(Statement* statement)
{
	return select->stream->fetch(statement);
}

void FsbDerivedTable::close(Statement* statement)
{
	select->stream->close(statement);
}

const char* FsbDerivedTable::getType(void)
{
	return "Derived Table\n";
}

void FsbDerivedTable::prettyPrint(int level, PrettyPrint* pp)
{
	pp->indent (level++);
	pp->put (getType());
	select->prettyPrint(level, pp);
}

--- New file ---
+++ storage/falcon/FsbDerivedTable.h	07/05/22 12:59:38
/* Copyright (C) 2006 MySQL AB

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 of the License.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */

#ifndef _FSB_DERIVED_TABLE_H_
#define _FSB_DERIVED_TABLE_H_

#include "Fsb.h"

class NSelect;

class FsbDerivedTable : public Fsb  
{
public:
	FsbDerivedTable(NSelect *node);
	~FsbDerivedTable(void);
	
	virtual void open(Statement* statement);
	virtual Row* fetch(Statement* statement);
	virtual void close(Statement* statement);
	
	NSelect		*select;
	virtual const char* getType(void);
	virtual void prettyPrint(int level, PrettyPrint* pp);
};

#endif


--- 1.267/BitKeeper/etc/ignore	2007-05-22 13:00:01 -04:00
+++ 1.270/BitKeeper/etc/ignore	2007-05-22 13:00:01 -04:00
@@ -3001,3 +3001,6 @@
 win/vs8cache.txt
 zlib/*.ds?
 zlib/*.vcproj
+.fts
+.fl1
+.fl2
Thread
bk commit into 6.0-falcon tree (jas:1.2532)U-ROWVWADEjas22 May